Reconcile an outbound task
reconcile_taskResolve a task's recorded status against what actually happened after a worker interruption or an uncertain result from the calling provider - safe to call any time, including repeatedly, and it never dials anything itself. It settles a task stopped by one of four causes: a pause in the middle of a dial (dispatch_in_flight), an expired claim (dispatch_claim_expired), a call whose price was not known yet (billing_unknown) or an uncertain dial (dial:*) whose call was found. Once no call is waiting to be settled, such a task becomes paused while any contact still waits for an attempt (even if others are in review), needs_attention when only contacts in review remain, and completed when nothing remains. Separately, it releases a dial intent whose worker died before the call was placed (no call record and no recorded attempt exist) once its work claim and a 5-minute margin have both expired, so at the earliest 15 minutes after the dial began: the contact goes back to waiting (or becomes completed after a verified callback) and its budget reservation is returned. Nothing else changes: a running task keeps running, and a task stopped for another reason (variables_limit, a failed invoice or calendar check, an uncertain dial whose call cannot be found, or contacts in review that stopped it earlier) stays in needs_attention until those contacts are decided with resolve_task_item. revision is optional; when given and it no longer matches the task's current revision, this fails with revision_conflict. Same data as POST /v1/tasks/{id}/reconcile (response schema in /openapi.json).
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": {
"id": "<id>"
},
"name": "reconcile_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the task to reconcile, from list_tasks or get_task. Looks like task_9f3a2b7c4d1e. | |
| revision | No | Revision of the task as returned by get_task. When given and it no longer matches, this fails with revision_conflict; omit to reconcile regardless of revision. |