audit_frame
Run pre-screenshot structural and visual validation on a frame to catch node count issues, zero-size or clipped nodes, full-frame raster images, placeholder sections, and unbound style warnings.
Instructions
Run automated pre-screenshot structural and visual validation on a frame (node counts, zero-size nodes, clipped/overflowing nodes, suspicious full-frame raster images, fonts used, placeholder sections, and unbound style warnings).
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>"
},
"name": "audit_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target frame or wrapper node ID to audit | |
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open |