game_ui_popup
Control Godot popup, dialog, and window nodes by path. Show centered or at position, hide, or retrieve current info to manage UI states.
Instructions
Show/hide/popup for Popup/Dialog/Window nodes
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": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_ui_popup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Popup size {x,y} | |
| text | No | Dialog body text | |
| title | No | Dialog title text | |
| action | Yes | Action: popup_centered, popup, hide, get_info | |
| nodePath | Yes | Path to Popup/Dialog/Window |