end_agent_session
End a durable agent session by providing its handle, terminating the session and releasing associated resources.
Instructions
End one explicitly created durable agent session handle.
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": {
"agent_session_handle": "<agent_session_handle>"
},
"name": "end_agent_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_ref | No | Project reference returned by open_project. Pass it explicitly for stateless routing; omit only when using a configured default. | |
| agent_session_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes |