rename_page
Rename a Figma page by its ID without altering its contents or structure. Specify the new page name and page ID to get a confirmation with the node ID.
Instructions
Rename a Figma page (a top-level page/tab in the document) by id. Affects only the page name; its node id and contents are unchanged. To rename a layer/node on the canvas use rename_node instead. Returns { ok, nodeId }.
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": {
"pageId": "<pageId>",
"name": "<name>"
},
"name": "rename_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New page name | |
| pageId | Yes | Page id to rename |