delete_page
Delete a Figma page by its ID, with safeguards against removing the current or last remaining page. Returns operation status and node ID.
Instructions
Delete a page by id. The current page and the last remaining page cannot be deleted. 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": "delete_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Page id to delete |