Work queue
queueJob queue with at-least-once delivery. enqueue(payload: any JSON, optional dedupe_key/channel); claim returns job and receipt (or job null; wait_seconds up to 30); ack/release/renew need seq and the current receipt (renew defaults to the queue's visibility_seconds; dead lists up to limit, default 50). Unacked jobs return after visibility_seconds (default 60) and dead-letter after max_attempts (default 5). Make side effects idempotent; never ack before finishing.
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": {
"action": "<action>"
},
"name": "queue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| seq | No | ||
| limit | No | ||
| action | Yes | ||
| channel | No | ||
| payload | No | ||
| receipt | No | ||
| dedupe_key | No | ||
| ttl_seconds | No | ||
| max_attempts | No | ||
| wait_seconds | No | ||
| delay_seconds | No | ||
| visibility_seconds | No |