Game window state
window_statusCheck if the FiveM game window exists and retrieve its title, process ID, on-screen bounds, and foreground status. Use it to verify window availability before input or screenshot automation.
Instructions
Whether the FiveM game window exists, its title/pid, on-screen rect, and whether it is the foreground window. Input/screenshot tools focus it automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| rect | No | ||
| found | Yes | ||
| title | No | ||
| focused | Yes |