Complete a step of an agent run
complete_agent_run_stepFor external-worker version 1 only: hand in the result of a delegated step, with the worker_token and the receipt from claim_agent_queue_job. The run completes the job itself, so send no ack, and the next step begins in this request. Repeat the same request after a lost answer or while submission_status says verifying. A 409 carries a code saying what to do. No API key, no account and no sign up.
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": {
"run_id": "<run_id>",
"step_id": "<step_id>",
"token": "<token>",
"receipt": "<receipt>",
"result": "<result>"
},
"name": "complete_agent_run_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The worker_token returned once at creation. | |
| result | Yes | Any JSON value but null, at most 7 KiB as JSON. | |
| run_id | Yes | The run_id returned at creation; not a credential. | |
| receipt | Yes | The receipt of the current claim. | |
| step_id | Yes | The id of the delegated step, as written in the plan. |