plugins.step
Runs an automation step a helper or script plugin offers, with its fields, and gives its answer.
JSON-RPC 2.0not for scripts
Every parameter other than package and step is passed to the step as its fields.
Parameters
- packagestringrequiredThe plugin's package id.
- stepstringrequiredThe step's id, from plugins.list.
Result
- (the answer)anyWhat the step answers.
Errors
A state error (-32005) when the plugin isn't running, has no such step, or fails.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "plugins.step", "params": {}}lightair call plugins.step