remove_nodes
Remove documentation nodes from a source hierarchy. Use recursive removal to delete child nodes while preserving any that still have a parent.
Instructions
Remove nodes. Recursive removal preserves descendants that still have another parent.
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": {
"source_id": "<source_id>",
"node_ids": "<node_ids>"
},
"name": "remove_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_ids | Yes | ||
| recursive | No | ||
| source_id | Yes | Canonical documentation source ID |