Enqueue agent queue job
enqueue_agent_queue_jobAdd a JSON job using the write token and a stable job_key. The same key and payload return the original job. Changing the payload for that key is a conflict. Payloads are limited to 16 KiB encoded JSON and must contain no secrets or personal data. The 100-job lifetime limit includes completed and failed jobs.
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>",
"write_token": "<write_token>",
"job_key": "<job_key>",
"payload": "<payload>"
},
"name": "enqueue_agent_queue_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_key | Yes | Your own stable key for the job, 1 to 64 characters. A repeat with the same key and payload returns the original job. | |
| payload | Yes | Required JSON value, including null. Maximum encoded size: 16384 bytes. | |
| queue_id | Yes | The queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps. | |
| write_token | Yes | The write_token from create_agent_queue, shown once. It adds jobs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| job | Yes | ||
| queue_id | Yes | ||
| deduplicated | Yes | ||
| expire_timestamp | Yes |