play
Initiate playback on a specified Sonos device or the current device. Returns device state details including volume, track info, and playback status for monitoring and control.
Instructions
Start playback on a Sonos device.
Args: name: The name of the device to start playback on. If None, uses the current device.
Returns: Dict[str, Any]: The device's state after starting playback, including name, volume, state, and track info.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
}
},
"title": "playArguments",
"type": "object"
}