x3d_scene_stats
Get node counts, type distribution, and component groupings for an X3D scene to quickly assess its structure and complexity.
Instructions
Get statistics about an X3D scene: node counts by type and component.
Returns total node count, DEF'd vs anonymous nodes, node type breakdown,
and grouping by X3D component (Geometry3D, Lighting, Shape, etc.).
Use this for a quick overview before diving deeper.
Args:
x3d_source: Either an absolute file path to a .x3d file, or a complete
X3D XML document string.
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_source": "<x3d_source>"
},
"name": "x3d_scene_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x3d_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |