task_stop
For clients outside Caddie acting for the user: stop an agent's task, the turn running now and the messages waiting in it, as Stop on the Agents page does.
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": "<agent>",
"task": "<task>"
},
"name": "task_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| agent | Yes |