add_node
Add a single node to the script editor canvas for building 247afk scripts. Specify node type, position, and input data to create script components.
Instructions
Add a single node to the script editor canvas.
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": {
"type": "<type>"
},
"name": "add_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Node type from the node catalogue (e.g. send_chat, on_timer, branch) | |
| position | No | Canvas position. Optional — auto-placed if omitted. | |
| data | No | Input values keyed by port name. Do not include exec ports. |