List client console commands
list_commandsRetrieve client console commands known to the FiveM client via the devcon handshake, optionally filtered by a case-insensitive substring. For server commands, run help through server_command.
Instructions
The devcon handshake streams every command the client console knows (CVAR frames). For server commands, run 'help' through server_command instead. Filter with a case-insensitive substring.
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": "list_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| commands | Yes |