request_handoff
Initiate a task handoff by providing the task ID and target agent ID. The target agent must accept or reject the transfer.
Instructions
请求任务交接。将任务转交给另一个 Agent。目标 Agent 需要调用 accept_handoff 或 reject_handoff。只有负责人或创建者可以发起交接。
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>",
"target_agent_id": "<target_agent_id>"
},
"name": "request_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | 要交接的任务 ID | |
| target_agent_id | Yes | 目标 Agent ID(交接对象) |