cancel_thronglet
Cancel a session's running turn and drop its queued messages, returning a cancelled error to any pending wait and leaving the session idle for a new send.
Instructions
Cancels the session's running turn (session/cancel) and drops its queued messages; a pending wait_thronglet returns the cancelled error. The session is idle afterwards and accepts a new send_message. No-op on an idle session.
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": "cancel_thronglet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | session_id from run_thronglet |