delete_page
Deletes a LeafWiki page after fetching its current version; supports ID or path and optional recursive deletion of descendant pages.
Instructions
Delete a page after fetching its current version.
Args:
id: Page identifier, preferred when both selectors are supplied.
path: Slash-separated page path.
recursive: Whether to delete descendants recursively. Defaults to False.
Returns: Serializable deletion confirmation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||