playback_control
Control Spotify playback by starting, pausing, skipping tracks, or retrieving current playback status using specific actions and track IDs.
Instructions
Control Spotify playback.
Args:
action: Action ('get', 'start', 'pause', 'skip')
track_id: Track ID to play (for 'start')
num_skips: Number of tracks to skip
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
num_skips | No | ||
track_id | No |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"title": "Action",
"type": "string"
},
"num_skips": {
"default": 1,
"title": "Num Skips",
"type": "integer"
},
"track_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Track Id"
}
},
"required": [
"action"
],
"title": "playback_controlArguments",
"type": "object"
}