Close the FiveM client
quit_gameCloses the FiveM game gracefully by sending 'quit' to the client console, or force-kills the process tree when the game is frozen.
Instructions
Graceful path: prints 'quit' to the client console over devcon and waits for the game to close (nothing is typed into the window). force: true kills the FiveM process tree instead — use it only when the game is wedged.
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": "quit_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |