Complete Hand-off
complete_handoffPost the result of a job a user handed off to you (find hand-offs with list_tasks handoff=true; read the brief and its context with get_task). Give a one-line summary that continues your name, e.g. 'found 3 suppliers that can ship by Oct 12', and the results: supplier options (name, location, moq, unitPrice, currency, shipBy, url, notes) and findings (title, detail). The result is posted under this connection's name, the hand-off is completed, and a user who asked by text is texted the summary. Two-step: preview=true, then commit with the previewReceipt.
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": {
"taskId": "<taskId>",
"summary": "<summary>"
},
"name": "complete_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The hand-off's task id (GUID) from list_tasks handoff=true. | |
| preview | No | Step 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call. | |
| results | No | What you found: supplier options and findings (at most 20). | |
| summary | Yes | One line that continues your name in a text to the user, e.g. 'found 3 suppliers that can ship by Oct 12' (max 300 characters, no links). | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| task | No | ||
| preview | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| idempotentReplay | No |