Call a write tool
call-write-toolRun a specified write tool on a chosen graph with exact arguments to apply changes or create subgraphs; read-only tools are rejected.
Instructions
Run one of a graph’s write tools (listed under write_tools by get-tools). name is the tool and arguments is its input, exactly as its definition describes. This changes the graph named in graph: check it is the one you mean. create-subgraph on a parent returns a subgraph id that is usable as graph on the next call. A read tool is refused here: use call-read-tool.
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": {
"graph": "<graph>",
"name": "<name>"
},
"name": "call-write-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The tool to run | |
| graph | Yes | The graph to act on: a graph id, a subgraph id (`{parent}_{name}`) or an alias, as `list-graphs` returns them | |
| arguments | No | The tool’s arguments, per its input schema |