volume
Adjust or retrieve the volume level (0-99) of a specified Sonos device using the Sonos MCP Server. Leave volume unset to check current level or specify a value to set it.
Instructions
Get or set the volume of a Sonos device.
Args: volume: The volume level to set (0-99). If None, returns current volume. name: The name of the device to control. If None, uses the current device.
Returns: int: The current volume level after the operation.
Raises: ValueError: If volume is not between 0 and 99. ValueError: If the specified device is not found.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | No | ||
volume | No |