run_tests
Runs headless GUT or GdUnit4 tests in a Godot project and returns the pass/fail summary. Auto-detects the test framework from the project addons.
Instructions
Run a GUT or GdUnit4 test suite headless and return the pass/fail summary. Auto-detects the framework from the project addons.
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": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| testPath | No | Optional directory or file of tests to run (relative to project, e.g. test/ or res://test) | |
| framework | No | Force a framework (default auto-detect) |