Agent Handoff Task
agent_handoff_taskHand off work with a required L1 brief and optional L2 artifact.
REVIEWING/HANDOFF require a structured brief with summary, key_metrics,
unverified_hypotheses and risk_flag (boolean). Agents must use REVIEWING;
DONE is human-only, and human_feedback is rejected for non-human callers.
Providing artifact_text stores the L2 body as a document and returns
artifact_uri (doc://...); artifact_text and artifact_uri are mutually
exclusive. The lease is released. REVIEWING enters the ping-pong circuit
breaker on rejection.
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_key": "<task_key>",
"next_status": "<next_status>"
},
"name": "agent_handoff_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| brief | No | ||
| task_key | Yes | ||
| create_next | No | ||
| lease_epoch | No | ||
| next_status | Yes | ||
| artifact_uri | No | doc:// URI; mutually exclusive with artifact_text | |
| artifact_text | No | L2 artifact body; mutually exclusive with artifact_uri | |
| fencing_token | No | ||
| human_feedback | No | ||
| idempotency_key | No | Optional. Retries with the same key and arguments within 24 h replay the first result (replayed=true) without a second write; a different body with the same key is idempotency_key_reused. | |
| output_artifact | No | ||
| expected_version | No | ||
| session_batch_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||