Write node body (coarse save)
write_bodyReplace a plan node's body with new sections in display order, minting fresh order keys and copy-on-writing changed prose.
Instructions
Replace a plan node's whole body with the given sections, in display order. The substrate mints fresh order keys and copy-on-writes changed prose. Returns { ok, count }.
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": {
"node_id": "<node_id>",
"sections": "<sections>"
},
"name": "write_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The node whose body to replace. | |
| sections | Yes | The new sections, in display order. |