io_add_command
Adds a virtual output command under an existing Loxone virtual output (default 'Home Assistant'), including optional on/off URLs and immediate page/source wiring.
Instructions
Adds a virtual output command under an existing virtual output (default 'Home Assistant'), e.g. a push: cmd_on='/api/webhook/?msg=Text'. With source and page it is wired there right away (output placeholder).
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": {
"title": "<title>",
"cmd_on": "<cmd_on>"
},
"name": "io_add_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| title | Yes | ||
| cmd_on | Yes | ||
| parent | No | Home Assistant | |
| source | No | ||
| cmd_off | No | ||
| source_key | No |