create_graph
Break a complex task into a validated dependency graph of subtasks for parallel CLI agents, and launch a live viewer to monitor execution without running the tasks.
Instructions
Create a DAG of subtasks to be executed by parallel CLI agent workers. Validates the graph and starts the live viewer, but does not execute anything.
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": {
"task": "<task>",
"nodes": "<nodes>"
},
"name": "create_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for workers; defaults to the server process cwd | |
| task | Yes | The original user task being decomposed | |
| edges | No | ||
| nodes | Yes |