plugins.command
Runs a command a helper or script plugin offers, and gives its answer.
JSON-RPC 2.0not for scripts
Parameters
- packagestringrequiredThe plugin's package id.
- commandstringrequiredThe command's id, from plugins.list.
Result
- (the answer)anyWhat the plugin answers.
Errors
A state error (-32005) when the plugin isn't running, has no such command, or fails.
From an AI agent
The MCP server's plugins (action: command) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "plugins.command", "params": {}}lightair call plugins.command