End Tool Session
end_tool_sessionEnd an active tool session before its time-to-live expires by providing the session ID. Release resources early and avoid waiting for automatic termination.
Instructions
End a tool session before its TTL expires.
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": {
"sessionId": "<sessionId>"
},
"name": "end_tool_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id returned by start_tool_session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended | Yes | ||
| sessionId | Yes |