Delete node
delete_nodeRemove a generation (node) from a thread, for example a bad take. This is a soft delete: it can be undone with restore_node, and credits already spent are not refunded.
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": {
"threadId": "<threadId>",
"nodeId": "<nodeId>"
},
"name": "delete_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The node to delete. | |
| threadId | Yes | Thread containing the node. |