jev_push_screens
Push app screens into Figma as auto-layout frames and keep them in two-way sync with code. Requires the app's dev server to be running.
Instructions
Push the app's screens into Figma as auto-layout frames and components, then keep them in live two-way sync. The app's dev server must be running. Call this when the user says 'push to Figma'.
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": {
"projectDir": "<projectDir>",
"baseUrl": "<baseUrl>"
},
"name": "jev_push_screens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Write Figma edits into code as they happen (default true). False = wait for Sync now. | |
| routes | No | Screens to push. Omit to discover routes from the code. | |
| baseUrl | Yes | URL of the running dev server, e.g. http://localhost:5173 | |
| pageName | No | Figma page to put screens on. Default: the page open in Figma. A screen already in the file is moved to this page when given. | |
| viewport | No | Default 1440x900. Use 390x844 for mobile. | |
| projectDir | Yes | Absolute path to the app's project folder (where package.json is) |