generate_vs_graph
Generate Visual Scripting graph JSON from a high-level description, including nodes, GUIDs, connections, properties, and optional auto-layout.
Instructions
Generate a Visual Scripting graph JSON from a high-level description. Handles all the complexity:
Creates proper node structure
Generates valid GUIDs
Sets up connections
Includes required properties
Auto-positions nodes by graph topology when position is omitted, preserving explicit positions
Returns the graph JSON which you should validate before writing.
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": {
"graphName": "<graphName>"
},
"name": "generate_vs_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | No | Array of node specifications | |
| layout | No | Optional left-to-right auto-layout settings for nodes without explicit positions. | |
| graphName | Yes | Name for the graph asset | |
| variables | No | Graph variables | |
| connections | No | Array of connection specifications | |
| description | No | High-level description of what the graph should do |