figma_generate_diagram
figma_generate_diagramGenerate structured diagram frames with labeled boxes and connector lines in Figma to map flows, systems, or processes.
Instructions
Create a structured diagram frame with boxes and connector lines.
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": {
"nodes": "<nodes>"
},
"name": "figma_generate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| edges | No | ||
| nodes | Yes | ||
| width | No | ||
| height | No | ||
| parentId | No | ||
| screenKey | No | ||
| backgroundColor | No |