Kill the game immediately
game_terminateTerminate a frozen Garry's Mod game process when the main thread is stalled, without saving config or performing a clean shutdown; optionally relay to another instance.
Instructions
Kills this game process at once (no config saved, no clean shutdown), from the network thread, so it works even when the game is frozen (infinite loop, status main_thread_stalled). The answer {terminating, pid, main_thread_stalled, last_tick_age_s} is sent first, then the process ends after delay_ms. With instance, the coordinator relays it to that game. Never use it on the user's own game unless they ask.
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": "game_terminate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay_ms | No | Delay before termination (default 200, to let the response go out). | |
| instance | No | Optional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| next | No | ||
| note | No | ||
| warning | No | ||
| next_call | No | ||
| answered_by | No | ||
| terminating | Yes | ||
| truncated_note | No | ||
| last_tick_age_s | No | ||
| version_warning | No | ||
| main_thread_stalled | No |