Cancel work
cancel_workInterrupt the specified queued or running work input when the user asks to stop it. This ends that input and may discard unfinished candidate work; retrying does not resume it. Does not undo completed changes or stop unrelated production runs. Requires access to the conversation; repeated cancellation is safe.
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>",
"input_id": "<input_id>"
},
"name": "cancel_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_id | Yes | ||
| session_id | Yes | ||
| workspace_id | No | ||
| preparation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||