add_nodes
Add nodes — inputs with values, calculated nodes with formulas, constants, checks — in one batch. Uids are minted for you. Order the batch so a formula's references come first or already exist; the whole batch is refused if the result is not a valid model, with the invariant named. Each row is placed where it reads — after the rows it reads, before the rows that read it, checks last — unless you say after or before.
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": {
"model": "<model>",
"nodes": "<nodes>"
},
"name": "add_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model uid (`model_…`), from model_list. | |
| nodes | Yes |