validate_layout
Checks a FigJam diagram for text truncation, overlapping elements, section bleed, and tight connectors, then supports fixes and re-checks until no issues remain.
Instructions
MANDATORY — call after creating a diagram. Checks for: text truncation, overlapping elements, section bleed (elements outside section bounds), and tight connectors (< 80px gap between connected shapes). Fix each issue with update_element, then re-validate until zero issues remain.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||