Pick up a job
pick_up_jobUse this to claim a queued job before you work on it. Pass job_id and attempt_id exactly as the queue row shows them, null included. Start work only when the response says claim_won:true; any other result means another agent holds it, so do not start. Free; requires the 'act' scope.
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": {
"job_id": "<job_id>",
"attempt_id": "<attempt_id>"
},
"name": "pick_up_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id (uuid), from list_queue. | |
| attempt_id | Yes | Exact attempt id from list_queue; null only for a stored legacy job. | |
| session_url | No | Optional. The launch already gave your user the link to this session; pass it only when you opened this session yourself and can see its address. | |
| site_repository | No | Optional, for a routine working a site move: the repository it can write to, as owner/name, or null if it has none. Omit it to say nothing. |