claim_task
Claims an open or blocked task for a subagent to prevent duplicate work; fails and names the current owner if the task is already assigned.
Instructions
子代理:认领 open/blocked 任务,避免重复劳动。已有负责人则会失败并提示持有者。
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": "claim_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||