GetNextTaskTool
Get the next task or story to work on (highest priority, errors first, oldest within priority). Optionally filter by project, and skip given pieces for one call with exclude_relative_ids.
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": {
"account_code": "<account_code>"
},
"name": "GetNextTaskTool"
}
}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. |