test_check_entity
Check if a unit, building, or resource exists in a Godot RTS project and retrieve its properties for validation.
Instructions
Check if a unit, building, or resource scene exists and get its properties
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>",
"entityType": "<entityType>"
},
"name": "test_check_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| race | No | Race for race-specific entities (humans, orcs, undead). Default: humans | |
| entityType | Yes | Type of entity (worker, soldier, town_hall, gold_mine, etc.) | |
| projectPath | Yes | Path to the Godot project directory |