remove
Deletes a specified node and its entire subtree from a screen while protecting the root node from deletion.
Instructions
Remove a node and its subtree. root cannot be removed. Example: {"screen":"checkout","id":"old_note"}.
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": {
"screen": "<screen>",
"id": "<id>"
},
"name": "remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lowercase identifier matching [a-z][a-z0-9_]{0,31} | |
| screen | Yes | Lowercase identifier matching [a-z][a-z0-9_]{0,31} |