generate_mfe_module
Generates a self-contained micro-frontend module from a Figma node, adding mount/unmount lifecycle hooks and a widget registry entry.
Instructions
Generate a self-contained micro-frontend module from a Figma node, with mount/unmount lifecycle hooks and a widget registry entry.
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": {
"figmaToken": "<figmaToken>",
"fileKey": "<fileKey>",
"nodeId": "<nodeId>"
},
"name": "generate_mfe_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node ID to generate the MFE module from | |
| fileKey | Yes | Figma file key from the URL | |
| figmaToken | Yes | Figma Personal Access Token |