get_project_graph
Get the whole node graph for a project in one call: every node (id, title, type, status, spec flag, dependencies) and every dependency edge, plus a topological build order and status counts. Use this at the start of a session or when the user asks about overall progress, ordering or drift — planning across a project should not cost one get_next_task call per node.
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_project_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Response shape. 'summary' returns a compact view (nodes without their dependency lists, edges as [source,target] pairs); 'full' also returns each node's depends_on and labelled edges. Defaults to 'summary' when the project has more than 50 nodes, otherwise 'full'. | |
| project_id | Yes | The project ID. Get this from list_projects first. |