complete_assignment
Atomically finalize a work assignment by recording the result, releasing the task lease, closing the worker session, and posting the handoff.
Instructions
Atomically record a result, release the task, close the worker, and post a 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": {
"idempotency_key": "<idempotency_key>",
"task_id": "<task_id>",
"lease_generation": "<lease_generation>",
"thread_id": "<thread_id>",
"summary": "<summary>"
},
"name": "complete_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| task_id | Yes | ||
| thread_id | Yes | ||
| result_data | No | ||
| result_kind | No | report | |
| workflow_id | No | ||
| binding_token | No | Opaque token returned by this agent's join_session or plan_session. Required for reliable identity when logical agents share an MCP connection. | |
| result_status | No | accepted | |
| idempotency_key | Yes | ||
| lease_generation | Yes |