Instance status
statusInspect a Garry's Mod instance's version, map, gamemode, realms, performance, loading state, main-thread stalls, and Lua mount changes; call first, even when the game is frozen.
Instructions
GMod version, branch, platform, map, gamemode, maxplayers, available realms (and injection generation), client lock, fps/frametime (perf), fps_max (the frame cap: 20 on a light test client) and host_timescale, loading (a map load in progress: the same flag as instances_list; menu.loading is the loading screen alone), uptime, age of the main thread's last tick (main_thread_stalled if > 5 s), Lua temporary directory (tmp_dir, absolute path), and with a mounted Lua folder (lua_mount) lua_mount: {path, loaded_with_mount, realms_without_mount, stale_files: [{file, disk, reason, realms}], warning?} (the folder's files that changed since each realm loaded them). Call this first. Works even if the game is frozen. Result: summary fields at the top (instance, mode, map, gamemode, maxplayers, fps_max, loading, main_thread_stalled...) and one object per realm (menu, server, client) with its own details; fields keeps only some top-level keys. Example: {"fields": ["map", "realms", "perf"]}.
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": "status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Keep only these top-level keys, e.g. ["map", "perf", "fps_max"]. | |
| 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. | |
| timeout_s | No | Max wait for Lua info (default 3). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map | No | ||
| pid | No | ||
| menu | No | ||
| mode | No | ||
| next | No | ||
| note | No | ||
| perf | No | ||
| port | No | ||
| client | No | ||
| frames | No | ||
| realms | No | ||
| server | No | ||
| fps_max | No | ||
| loading | No | ||
| tmp_dir | No | ||
| warning | No | ||
| game_dir | No | ||
| gamemode | No | ||
| instance | No | ||
| platform | No | ||
| uptime_s | No | ||
| lua_mount | No | ||
| next_call | No | ||
| projected | No | ||
| host_error | No | ||
| maxplayers | No | ||
| answered_by | No | ||
| client_lock | No | ||
| coordinator | No | ||
| layout_check | No | ||
| agent_version | No | ||
| loading_stuck | No | ||
| host_timescale | No | ||
| truncated_note | No | ||
| console_capture | No | ||
| last_tick_age_s | No | ||
| version_warning | No | ||
| loading_stuck_note | No | ||
| main_thread_stalled | No |