copy_page
Duplicate a LeafWiki page and its assets to a target parent or root, with a new title and slug.
Instructions
Copy a page and its assets.
Args: title: Title for the copied page. slug: Slug for the copied page. id: Source page identifier, preferred when both selectors are supplied. path: Slash-separated source page path. target_parent_id: Destination parent identifier, or empty for root.
Returns: JSON-compatible copied page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | No | ||
| slug | Yes | ||
| title | Yes | ||
| target_parent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||