List commands
concommand_listLists Lua console commands for a chosen realm and, with a filter, parses matching engine commands and convars so you can discover available console options.
Instructions
Lists console commands. Always: the Lua commands of realm (concommand.Add, name matches filter as a case-insensitive substring). With a filter and engine: true (default): also the engine's commands and convars whose name or help text matches, parsed from the console command find <filter>. Result: {lua_commands, realm, engine_commands?, engine_convars?}. Example: {"filter": "sv_"}.
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": "concommand_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | No | Execution realm (default: menu in client mode, server on srcds). | |
| engine | No | Include engine commands (default true, requires a filter). | |
| filter | No | Case-insensitive substring of the name. | |
| 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 |
|---|---|---|---|
| next | No | ||
| note | No | ||
| realm | Yes | ||
| warning | No | ||
| next_call | No | ||
| answered_by | No | ||
| lua_commands | Yes | ||
| engine_convars | No | ||
| truncated_note | No | ||
| engine_commands | No | ||
| version_warning | No |