Create node
create_nodeAdd a node to a graph. A node is a doc that lives in a graph: read, replace, append to and delete it like any doc, by its id.
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": {
"g": "<g>",
"body": "<body>"
},
"name": "create_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| g | Yes | Id of a graph. | |
| body | Yes | The node's content. | |
| title | No | A short title, up to 200 characters. | |
| credential | No | The bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header. |