automation.run
Runs an automation now, as if its trigger had happened.
JSON-RPC 2.0project.write
Parameters
- automationstringrequiredIts id or name.
- argsstring[]A command's words.
Errors
Not found (-32004) for an unknown automation.
From an AI agent
The MCP server's run_automation reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "automation.run", "params": { "automation": "Shout-out", "args": [ "@friend" ] }}lightair call automation.run '{"automation":"Shout-out","args":["@friend"]}'const result = lightair.call("automation.run", {"automation":"Shout-out","args":["@friend"]});Result
{}