sprut_run_scenario
Trigger or execute a SprutHub automation scenario by index to activate smart home routines and device actions.
Instructions
Trigger / execute an automation scenario by index.
Args: index: The index of the scenario (from sprut_list_scenarios).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"index": "<index>"
},
"name": "sprut_run_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |