cos_task_claim_next
Atomically claim the next runnable task for your agent session, with optional priority and swimlane filters. Prevents duplicate assignments by locking the chosen task.
Instructions
Atomically select+claim the top runnable task for this session (or claimed=null).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swimlane | No | ||
| priority_min | No | P2 | |
| agent_session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |