Bring the game to the foreground
focus_windowBrings the FiveM game window to the foreground for input and screenshot automation, minimizing other windows if needed and remembering the previous window for later restoration.
Instructions
Restores/minimizes-out if needed and steals foreground (remembering the previous window for restore_focus). Every input/screenshot tool calls this automatically.
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": "focus_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||