figma_generate_schema
Generate a CMS ContentSchema definition from a Figma design structure, turning design nodes into reusable content fields.
Instructions
Generate a CMS ContentSchema definition from Figma design structure
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": {
"schemaId": "<schemaId>"
},
"name": "figma_generate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Root node ID to generate schema 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. | |
| schemaId | Yes | Schema ID (e.g., 'case-studies') |