Game Get UI
game_get_uiRetrieve a bounded list of visible UI elements from a running Godot 4 game to inspect its interface, optionally scoped to a runtime subtree and limited by a maximum control count.
Instructions
Get a bounded list of visible UI ele…
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "game_get_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootPath | No | Optional runtime subtree root, such… | |
| maxElements | No | Maximum controls returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| meta | Yes | ||
| error | No |