List maps
map_listList installed Garry's Mod maps by scanning .bsp files across game, addon, workshop, and mounted paths; filter names with case-insensitive substrings and return sorted results with counts.
Instructions
Installed maps: every maps/*.bsp on the game's GAME path (garrysmod, addons, workshop, mounted games such as HL2), names without .bsp, sorted, filtered by a case-insensitive substring. Same answer on every instance of this game folder (callable without instance). Result: {maps: [names], count (all matches), truncated, filter}. Example: {"filter": "gm_"}.
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": "map_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 1000. | |
| filter | No | Substring (empty = all). | |
| 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 |
|---|---|---|---|
| maps | Yes | ||
| next | No | ||
| note | No | ||
| count | Yes | ||
| filter | No | ||
| warning | No | ||
| next_call | No | ||
| truncated | Yes | ||
| answered_by | No | ||
| truncated_note | No | ||
| version_warning | No |