figma_generate_page
Generates an Astro page template from an organized Figma design, converting design nodes into case-study, blog-post, landing, or generic page structures.
Instructions
Generate an Astro page template from organized Figma design
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_generate_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Root node ID to generate page from | |
| figmaUrl | No | Figma design URL (e.g., 'https://www.figma.com/design/ABC123/File-Name?node-id=1817:2817'). Extracts file key and node ID automatically. Once set, persists for the session. | |
| registry | No | Component registry to use | default |
| templateType | No | Template type to generate | generic |