display_manage
Set Godot window mode, size, position, vsync, and mouse capture; scaffold subwindows for UI automation.
Instructions
DisplayServer Configuration, Window Controls, and SubWindow Scaffolding.
Ops:
set_mode(mode="windowed", borderless=None, always_on_top=None) Set window mode (windowed, fullscreen, exclusive_fullscreen, maximized, minimized).
get_display_info() Read active screen dimensions, window geometry, refresh rate, VSync, and mouse mode.
set_window_rect(size=None, position=None) Resize and reposition the active window.
set_vsync(vsync_mode="enabled") Configure VSync (disabled, enabled, adaptive, mailbox).
set_mouse_mode(mouse_mode="visible") Set mouse capture mode (visible, hidden, captured, confined, confined_hidden).
scaffold_subwindow(parent_path="", window_type="Window", name="SubWindow", title="Window", size=[400, 300], transient=true, exclusive=false) Scaffold a Window, AcceptDialog, or ConfirmationDialog in the scene.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||