create_graph
Materialize a validated graph spec into a real graph on the caller's account — nodes reference each other by caller-chosen string refs, edges wire refs, entry names the entry node. Rejects invalid topology with the schema's own errors. Returns the new graph id plus its canvasUrl.
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": {
"name": "<name>",
"nodes": "<nodes>"
},
"name": "create_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| edges | No | ||
| entry | No | ref of the node new runs start at | |
| nodes | Yes | Each node needs a caller-chosen `ref` that edges and `entry` reference | |
| description | No |