Rename page
rename_pageChange the name of an existing diagram page or tab. Identify it by id, name, or index, then set the new visible tab label in the editor.
Instructions
Rename an existing page (tab). At least one of page_id / page_name / page_index is required to identify which page to rename. The new_name becomes the visible tab label in the editor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | Target a page by its id (as returned by list_pages or add_page). Wins over page_name and page_index when multiple are set. | |
| new_name | Yes | The new display name for the page tab. | |
| page_name | No | Target a page by its display name (e.g. "CNN"). Used only when page_id is not set. | |
| page_index | No | Target a page by its 0-based tab index. Used only when page_id and page_name are not set. |