commands.list
Lists every document command commands.execute takes, with its fields, their JSON types and an example.
JSON-RPC 2.0project.read
Parameters
- filterstringOnly commands that match these words.
Result
- commands{ name: string, about: string, fields: { name: string, type: string, about: string }[], example: any }[]The commands.
From an AI agent
The MCP server's list_commands reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "commands.list", "params": {}}lightair call commands.listconst result = lightair.call("commands.list", {});