get_current_track_info
Fetch real-time track details from a Sonos device, including artist, title, album, position, and duration. Specify the device name or retrieve data from the currently active one.
Instructions
Retrieve current track information for a Sonos device.
Args: name: The name of the device to retrieve track information from. If None, uses the current device.
Returns: Dict[str, str]: A dictionary containing the current track's artist, title, album, playlist position, and duration.
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_current_track_infoArguments",
"type": "object"
}