Stop Agent Task
stop_agent_taskStop a task now: pause its schedule and cancel the run in progress, which stops at its next safe point. Safe to repeat. Resume it later with update_agent_task status active.
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_id": "<agent_id>",
"task_id": "<task_id>"
},
"name": "stop_agent_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional reason, kept with the record. | |
| task_id | Yes | The task id, from list_agent_tasks. | |
| agent_id | Yes | The agent id, from list_agents. |