ue_x3d_validate
Validate an X3D document against a strict grammar, catching invalid nodes, dangling references, and numeric issues, returning results for pre-apply checks.
Instructions
Validate an X3D document against the closed thin-slice grammar without touching the editor: rejects out-of-grammar nodes, dangling USE references, wrong numeric arity, non-X3D roots, and NaN/inf. Returns {ok, errors}. Run this on model-edited X3D before apply.
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": {
"x3d": "<x3d>"
},
"name": "ue_x3d_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x3d | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |