export_code
Convert Paper design nodes and layer hierarchies into production-ready code for SwiftUI, React + Tailwind, Flutter, and CSS Tokens.
Instructions
Transpiles Paper nodes and layer hierarchies directly into production-ready code (SwiftUI, React + Tailwind, Flutter, CSS Tokens).
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": {
"nodeId": "<nodeId>",
"format": "<format>"
},
"name": "export_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | Optional target file ID. | |
| format | Yes | Target code format. | |
| nodeId | Yes | ID of the node or artboard to transpile. |