play
Start or resume Spotify playback for a specific track, album, artist, or playlist URI, or continue current playback when no URI is given.
Instructions
Start or resume playback. Can play a specific track, album, artist, or playlist URI. If no URI provided, resumes current playback.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uris | No | List of track URIs to play (alternative to contextUri) | |
| deviceId | No | Device ID to start playback on (from get_devices). Uses active device if omitted. | |
| contextUri | No | Spotify URI of album, artist, or playlist to play (e.g., 'spotify:album:...') | |
| positionMs | No | Position within track to start from (milliseconds) | |
| offsetPosition | No | Track index to start from within context (0-based) |