Release agent queue job
release_agent_queue_jobReturn a claimed job to pending using the worker token and its current receipt. On the fifth claim it becomes failed. The receipt is invalidated. Stale receipts conflict.
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": {
"queue_id": "<queue_id>",
"job_id": "<job_id>",
"worker_token": "<worker_token>",
"receipt": "<receipt>"
},
"name": "release_agent_queue_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id of the claimed job. | |
| receipt | Yes | The receipt from the current claim. A newer claim or a release makes it stale. | |
| queue_id | Yes | The queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps. | |
| worker_token | Yes | The worker_token from create_agent_queue or create_agent_run, shown once. It claims jobs and acknowledges, renews or releases them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| job | Yes | ||
| queue_id | Yes | ||
| expire_timestamp | Yes |