validate_diagram
Checks diagram specs before rendering, verifying icon IDs with suggestions, references, nesting, and limits to catch errors early.
Instructions
Check a spec without rendering: icon ids (with suggestions), references, nesting, limits.
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": {
"spec": "<spec>"
},
"name": "validate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||