ia_validate
Validates illustration scene-card SVGs for security, pure-vector self-containment, 4:3 canvas, and composition density; returns a normalized SVG with warnings.
Instructions
Validate an illustration scene-card SVG drawn per ia_generate: security filter, self-contained check (no /external refs — illustrations must be pure vector), canvas 4:3 check, composition density hints. Returns normalized SVG with 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": {
"svg": "<svg>"
},
"name": "ia_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | The illustration SVG markup (root element must be <svg>) | |
| size | No | Expected card width in px (default 480) |