get_next_task
Get the next unblocked task to build in a Nodeon project. Returns the highest-priority node with no incomplete dependencies, plus its scoped context: what it depends on, what depends on it, and its full spec. UI work (a screen node, or a feature whose spec mentions UI) also carries references — up to 3 matched UI patterns (screen/block preferred over primitives) — when the Reference Library has a strong match; non-UI tasks (logic, data, custom) never carry references, but get_references serves any node id on request. The payload also carries constraints (the project rules that apply to this task) and upstream_handoffs (the handoff note from each direct dependency; handoff: null when a dependency predates handoffs). Returns an object describing the next task, or an object reporting that all tasks are complete, none are buildable, or the project has no tasks yet.
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": {
"project_id": "<project_id>"
},
"name": "get_next_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project ID. Get this from list_projects first. |