get_device_state
Retrieve the current state of a Sonos device, including volume, playback status, and track details, by specifying the device name through the Sonos MCP Server.
Instructions
Retrieve the state information for a specific Sonos device.
Args: name: The name of the device to retrieve state information for. If None, uses the current device.
Returns: Dict[str, Any]: A dictionary containing the device's name, volume, state, and current track information.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
}
},
"title": "get_device_stateArguments",
"type": "object"
}