Add session
add_sessionAdd past time that was not timed: minutes (ending now, or at end), or start+end as HH:MM on date. For calls, meetings, children, workout or gym, paid work, work done away from the agent, or work the user forgot to start the timer for, or a calendar event that happened (pass its calendar_event_id: the same event is never logged twice). Apps replaying a queued entry pass op_id, so a retry does not count the time twice.
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": {
"task": "<task>"
},
"name": "add_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | HH:MM local time | |
| area | No | default work | |
| date | No | YYYY-MM-DD in the user's timezone | |
| task | Yes | ||
| op_id | No | for apps replaying queued requests: an id the app minted before its first attempt and reuses on retries, so the write is applied once and a retry gets the first answer back. Do not invent one; an agent calling interactively leaves it out | |
| 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 | |
| minutes | No | ||
| exclusive | No | true: nothing else was happening then | |
| projectId | No | ||
| calendar_event_id | No | the id of the calendar event this time comes from, as your calendar connector gives it (for one occurrence of a recurring event, that occurrence's id); an event already logged is refused |