close_session
Finalize a session by recording its end time and updating daily activity tracking.
Instructions
Close a session and update its end timestamp.
Also creates or updates the DailyActivity node for the session's date.
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": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ID of the session to close | |
| ended_at | No | Optional ISO 8601 timestamp. If not provided, uses current time. | |
| actor_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||