Validate editable diagram geometry
validate_diagram_sceneValidate diagram scene JSON for supported nodes, text, and bound connectors. It rejects duplicate IDs, dangling references, unsupported styles, and invalid XML characters, returning counts without silent repairs.
Instructions
Validate scene JSON for supported nodes, text and bound connectors. Reject duplicate IDs, dangling references, unsupported styles and invalid XML characters. Returns counts without silently repairing or re-laying out the scene. Max 32 KiB and 200 elements.
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": {
"scene": "<scene>"
},
"name": "validate_diagram_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes |