add_dependency
Create a dependency between two nodes in a Nodeon project. The target node won't be available for building until the source node is complete. Use this to connect discovered subtasks to the graph or to restructure dependencies.
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>",
"source_node_id": "<source_node_id>",
"target_node_id": "<target_node_id>"
},
"name": "add_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label for the dependency (e.g., 'requires', 'informs', 'blocks'). | |
| project_id | Yes | The project ID. | |
| source_node_id | Yes | The node that must be completed first (the dependency). | |
| target_node_id | Yes | The node that depends on the source (won't be available until source is done). |