Agent Workforce
queue_claimAgent Workforce: a worker claims the highest-priority ready job and gets a LEASE (it is now responsible). Send jacket_key too and the attached Job Jacket is checked out in the same call (one call to start a shift). Expired leases come back with the last checkpoint so a replacement can resume. Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/claim, $0.002 via x402.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "queue_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_id | No | queue id | |
| worker_id | No | worker id | |
| x_queue_key | No | the key returned by create (sent as a header on HTTP) |