set_edge_condition
Assign condition labels to edges in NetworkX graphs to define branching logic and decision paths for state management and analysis.
Instructions
Set condition label for an edge.
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": {
"graph_id": "<graph_id>",
"from": "<from>",
"to": "<to>"
},
"name": "set_edge_condition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| from | Yes | ||
| to | Yes | ||
| condition | No |