Create a graph
create_graphBuilds a .lazy file from a spec (see get_guide) and checks it. When ok is true it returns a download link for the user (on a hosted server) or saves it as save_as (on a local server); include_file also returns the whole file. Otherwise it returns the errors to fix.
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": {
"spec": "<spec>"
},
"name": "create_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| save_as | No | ||
| include_file | No |