monorail_push
Push deck IR to create or replace Figma slides for bootstrapping new decks or bulk updates. Validates IR before sending and returns warnings for constraint violations.
Instructions
Push IR to create/replace slides in Figma. Use for bootstrapping a new deck or bulk updates. For surgical edits to existing content, prefer pull → patch. Validates IR before sending (returns warnings for constraint violations).
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": {
"ir": "<ir>"
},
"name": "monorail_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ir | Yes | The deck IR as a JSON string. Each slide needs: id, archetype (title/section/big-idea/bullets/two-column/quote/chart/timeline/comparison/summary), status (draft/locked/stub), and content object. | |
| mode | No | How to handle existing slides. 'append' (default) adds new slides after existing ones. 'replace' deletes ALL existing slides first, then creates new ones. Use 'replace' for full deck rewrites. | |
| autoApply | No | If true (default), automatically render the slides in Figma. If false, just populates the plugin input field. | |
| start_index | No | Position to insert new slides (0-based). Only applies in 'append' mode. If omitted, appends to end. |