Edit session
edit_sessionFix a session, running or finished: start and end (HH:MM on date; an end before the start means it ran past midnight), task, area, project, lever, step, plan item, summary, outcome, attention share, weight. It is classified again after a change. Use it when the user forgot to start or stop the timer, or a session was labelled wrong.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "edit_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | HH:MM local time | |
| area | No | default work | |
| date | No | local date of start and end; default the session's own date | |
| task | No | ||
| start | No | HH:MM local time | |
| itemId | No | plan item id from get_plan or get_now | |
| stepId | No | path step id | |
| weight | No | attention weight vs other sessions at the same time, default 1 | |
| leverId | No | lever id from get_goal | |
| outcome | No | ||
| summary | No | ||
| exclusive | No | true: nothing else was happening then | |
| projectId | No | ||
| session_id | Yes | ||
| attention_share | No | share of the session's wall time that was real attention |