task_decide
Submit a decision to resolve an escalated task, returning it to running so the worker can continue. Only works on escalating tasks and records the decider for audit.
Instructions
决策下浮()队长/用户在任务 escalating 时下发裁决:写 escalation.decision + decider + decided_at,任务回 running(worker 续跑)。仅对 escalating 态生效;幂等——已决策任务再 decide 拒绝。记录 decider 供审计。
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>",
"choice": "<choice>"
},
"name": "task_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| choice | Yes | 用户/队长选定的方案或裁决文本 | |
| decider | No | 裁决者标识(如 'user-alice' / 'captain'),默认 'captain-for-user' | |
| task_id | Yes |