List pages
figma_get_pagesList all pages in a Figma document with IDs, names, and the current page, then use a page ID to scope component scans.
Instructions
Every page in the document (id, name, which one is current). Use a page id with figma_get_local_components to scope a scan.
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": "figma_get_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. |