stop_task
Stop a running task. Enable cleanup to also remove it from the registry and CLI.
Instructions
停止运行中的任务。cleanup=true 时同时从注册表和 CLI 中移除。
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": {
"task_id": "<task_id>"
},
"name": "stop_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cleanup | No | 是否同时清理,默认 false | |
| task_id | Yes | 任务 ID |