class-query
Query Godot classes from ClassDB with filtering by name or category to discover node types, resource types, or any class before instantiating.
Instructions
[compact alias of query_classes] Query available Godot classes from ClassDB with filtering. Use to discover node types, resource types, or any class before using add_node/create_resource. Categories: node, node2d, node3d, control, resource, physics, physics2d, audio, visual, animation.
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": {
"projectPath": "<projectPath>"
},
"name": "class-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to project directory containing project.godot. | |
| filter | No | Optional: substring filter for class names (case-insensitive, e.g., "light", "collision") | |
| category | No | Optional: filter by category (node, node2d, node3d, control, resource, physics, physics2d, audio, visual, animation) | |
| instantiableOnly | No | If true, only return classes that can be instantiated (default: false) |