set_graph
Replace the entire script graph to build complete scripts from scratch, replacing all existing nodes and edges at once.
Instructions
Replace the entire script graph at once. Use this to build a complete script from scratch. All existing nodes and edges are replaced.
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": {
"nodes": "<nodes>",
"edges": "<edges>"
},
"name": "set_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| edges | Yes | ||
| variables | No |