volume
Adjust volume of a Kodi instance by a relative percentage step. Omit step or set to 0 to report current volume, mute state, and range.
Instructions
Adjust the target instance's volume by a relative step (in percentage points); step 0 or omitted just reports the current volume. Returns { "muted", "volume", "min", "max" }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | Target Kodi instance. Omitted uses the default ("(null)"). | |
| step | No | Relative volume change in percentage points. 0 or omitted reads the current volume without changing it; positive raises, negative lowers. The result is clamped to the 0-100 range reported as min/max. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| muted | Yes | Whether audio output is muted. | |
| volume | Yes | The application volume, 0-100. | |
| min | Yes | Lower volume bound (always 0). | |
| max | Yes | Upper volume bound (always 100). |