SpecifyDocs

queue_next

tools/call

The one item to take now. Default: deadlines under an hour first, then priority and soonest due. Opt in with selection: project_order and a project for tasks ordered by priority and manual position. An incomplete scan returns scanIncomplete: true and a cursor; continue it, never treat it as empty. Does not claim.

Scopes

read:task_queue

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

Inputs

kind"briefing" | "task"
Only briefings or only tasks
projectstring
Only items in this project: its name, key or ID
selection"project_order"
Tasks in one required project, ordered by priority and manual position. No deadline promotion. Continue scanIncomplete replies with their cursor.
cursorstring
The scoped cursor from an incomplete project_order scan. Restart without it when the queue or eligibility changes.

Returns

The item to take now with its instructions, or null and when the next one becomes available. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

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