set_current_page
Switch the active Figma page by ID or name to access its top-level nodes and list all pages in the document.
Instructions
Switch Figma to a page of the current document, by its ID or its name, and get that page's top-level nodes and every page of the document
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_current_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | The ID of the page to switch to, from get_document_info's pages | |
| pageName | No | The page's name, or a part of it that only one page's name contains |