GetNextTaskTool
Get the next task or story to work on (highest priority, errors first, oldest within priority). Optionally filter by project. If you are waiting on something for a piece (a human answer, a review, a deploy) and have not formally blocked it, pass its relative id in exclude_relative_ids to skip it and get the next unblocked piece instead of looping on the same one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_code | Yes | Account code (e.g., "bcp", "jchsoft") | |
| project_relative_id | No | Optional relative ID of a project to filter by | |
| exclude_relative_ids | No | Relative IDs of pieces to skip on this call (e.g. pieces you are currently stuck on). Per-call only — does not change the piece state. |