SpecifyDocs

queue_fail

tools/call

Reports that the item failed. It returns to the queue for another try, or ends as failed with final: true or at the 3rd attempt.

Scopes

read:task_queueclaim:task_queue

Only items for the person who made the key, in projects the key can read (read:projects for project items). Briefing items are read-only.

Inputs

itemIdstringRequired
The item's itemId (tq_...)
leaseIdstringRequired
The leaseId queue_claim returned
reasonstringRequired
Why, in a sentence the person reads (at most 500 characters)
finalboolean

Returns

The item, queued again or failed. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The key has read:task_queue; the tools that take work need claim:task_queue too.