sleep_timer
Set playback to continue for a chosen number of minutes, then auto-pause when time expires. Use it to fall asleep without music playing overnight.
Instructions
Keep music playing and auto-pause after N minutes: registers an in-process timer (cancel-safe; calling again replaces it) that fires PUT /me/player/pause on expiry. No fade — distinct from stepped schedule_wind_down. Quota: 🟢 1 read now; 1 pause on expiry. Timer lives in this MCP server process only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| device_id | No | Device to pause on expiry (defaults to the active device at expiry time) | |
| duration_min | Yes | Minutes until auto-pause (1-480) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |