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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No | ||
| recursive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||