1. Conduid
  2. IoT
  3. Frankensonos
MCP server · IoT

Frankensonos

Memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interoperability (S1 + S2), a Spotify-library classical DJ, and a CLI + HTTP API + MCP server so AI agents can run the house, including off-LAN over Tailscale.

66Good

Scored 21 hours ago · breakdown

About Frankensonos

Frankensonos is an MCP server published by Dicklesworthstone in the IoT category: memory-safe Rust controller for your own Sonos speakers on your own LAN — reliable SSDP/UPnP-SOAP/GENA interoperability (S1 + S2), a Spotify-library classical DJ, and a CLI + HTTP API + MCP server so AI agents can run the house, including off-LAN over Tailscale. Conduid read 97 tools from its source: abandon_announcement_recovery, add_to_queue, add_tracks_to_queue, add_tracks_to_sonos_playlist, announce, announce_start and 91 more. No package is published for it, so it installs from a source checkout.

The repository has 140 stars and 11 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include async, dlna, home-automation, interoperability, smart-home and soco.

Install

From source
git clone https://github.com/Dicklesworthstone/frankensonos

Tools (97)

abandon_announcement_recoveryExplicitly abandon your interrupted announcement recovery, or any recovery as the configured owner. Give the exact job id and confirm_abandon=true after deciding to keep current playback and manage the rooms yourself. Sends no speaker commands: it does not stop the clip or restore the previous source, grouping, position or levels. Durably retires all still-unclaimed household records for this job together, retains incomplete receipts and permits new announcements. Claimed/in-progress cleanup refuses without abandoning any household; ordinary cancel_announcement keeps its restoration behavior. Repeating a completed request returns the retained final receipt. If a response is lost, read get_announcement before another intent.
add_to_queueAdd to every selected group's queue without starting or replacing playback. zone accepts a room, multi-room alias, all or everywhere; all@S1 / all@S2 selects one household. Existing groups remain independent and grouped rooms queue once. Give exactly one of source_uri (a Spotify track, album, playlist, artist, episode or show URI/link), favorite (a native Sonos favorite id, number or unambiguous title), or playlist (a saved Sonos playlist SQ: id, number or title). Artists/shows require Spotify catalog sign-in and resolve once to up to ten tracks/episodes for all groups. Native sources use each household's own catalog and service metadata; stations and browse shortcuts cannot be queued. next=true inserts after each group's current queue track, otherwise appends. title is for Spotify sources only. A single-group response retains zone/first/count/playing_queue. A multi-group receipt has complete, added and failed arrays with exact per-group ranges and errors, plus logged and undoable. Inspect every failed entry even when the request returns a receipt; never retry the whole batch, because confirmed or uncertain additions may already exist. One action log and undo cover proved additions; any uncertain effect blocks batch undo.
add_tracks_to_queueQuietly add the same ordered selection of 1-10 Spotify tracks or episodes to every selected group's queue in one request. zone accepts a room, saved alias, here, all/everywhere, all@S1 or all@S2. Grouped rooms queue once and keep their current members. Each tracks entry has source_uri (a Spotify track/episode URI or share link) and optional title. Preserve the caller's order and intentional duplicates; albums, artists, playlists and shows are not accepted here. next=true inserts the entire selection after the current item when the queue is selected, otherwise it appends; neither mode starts playback or changes the selected source. Optional expected_revision must be the destination queue revision from get_queue, not a cached library revision, and requires a selector resolving to one group; a changed queue is refused. Uses the same add_to_queue permission. Single-group replies retain zone/first/count/playing_queue; multi-group receipts include complete, added and failed entries, logged and undoable. Incomplete delivery sets the tool-error flag while retaining every target receipt. Confirmed additions share one undo when every possible effect is proved; any uncertain insertion blocks batch undo. Inspect failed groups before another action; never automatically replay the whole selection.
add_tracks_to_sonos_playlistAdd an ordered selection of 1-10 Spotify tracks or episodes directly to an existing native Sonos saved playlist. First read sonos_playlist_contents on the intended household and pass its exact playlist.id (SQ:n) and revision as expected_revision. zone names one room on that household; Room@S1 or Room@S2 disambiguates households. Each tracks entry has source_uri (a Spotify track/episode URI or share link) and optional title. Preserve the supplied order and intentional duplicates. Albums, artists, playlists and shows are not expanded. The server learns the destination household's Spotify renderer; no Spotify Web API sign-in is required, but Sonos must have working Spotify linkage. Only the saved playlist changes: current playback, loaded queues, volume, grouping and DJ ownership stay unchanged. Returns the destination playlist, previous_total, total, added count, canonical source_uris, titles, new revision and logging status. Uses add_tracks_to_sonos_playlist / house-config permission. The saved edit has no action-history undo. A partial batch or uncertain reply must never be replayed automatically; inspect the destination saved contents on the original household before another append.
announceRequires the daemon's media listener (fsonos serve). Give exactly one of `text` (local offline speech backend, at most 1000 characters; optional `voice`), `chime` (bell, beep, rise), or `wav_base64` (16-bit PCM WAV bytes as standard padded base64, at most 16 MiB decoded and five minutes; never a file path). Play it in `rooms` (names, aliases or 'all'; every room when omitted), then restore grouping, source, position, volumes and mute. `volume` 0-100, default 35, capped per room by the house policy. Waits through playback and restoration. Incomplete delivery or restoration returns isError=true while preserving every household's outcome, error and not_restored receipt. Inspect those receipts and current room state before another action; never automatically replay an incomplete or uncertain announcement. Not undoable through action history.
announce_startStart an announcement in the daemon without holding this call through playback. Give the same one source and room/volume fields as announce. Returns a job id immediately after bounded admission; accepted does not mean heard or restored. Inspect get_announcement or list_announcements, and use cancel_announcement to cancel queued or active delivery. Existing per-client/global limits and quiet-hour caps apply. Never repeat an uncertain start: inspect the job list first. Queued jobs without a playback checkpoint are process-local. Checkpointed playback retains durable recovery and terminal receipts across daemon restart under bounded retention; restart never repeats delivery. After a lost reply or restart, inspect retained jobs before starting another clip.
append_sonos_playlist_tracksAppend 1-10 reviewed track occurrences to an existing native Sonos saved playlist, preserving the supplied order and repeated positions. First read sonos_playlist_contents for the destination and pass its exact playlist.id (SQ:n) and revision as expected_revision. By default the source is zone's current group queue: read get_queue and pass its revision as source_revision with one-based positions. To copy from a saved playlist in the same household, set source_playlist to its exact SQ: id and use that playlist's contents revision as source_revision. Both revisions are required. zone accepts Room@S1 or Room@S2 to disambiguate households. The server resolves native resources and metadata from the reviewed occurrences; it never accepts client media URIs or metadata. Only the destination saved playlist changes; loaded queues, playback, volume and DJ stay unchanged. Returns the destination playlist, previous_total, total, added count, selected positions/titles and a new revision. Uses append_sonos_playlist_tracks / house-config permission; no Spotify sign-in is needed. The saved edit is not undoable through action history. Never automatically retry an uncertain or malformed reply: read the destination saved contents on the original household before another append.
apply_scenePut the house in the saved scene `name` (case ignored; list_scenes names them). Pass expected_revision from get_scene to apply only the reviewed definition. CONFIG_CHANGED means the stored scene changed or was removed before recall. Only the needed steps are sent: regroup, volumes and mutes, sources and playback. A captured queue reference recalls its saved occurrence, elapsed time and known play mode only on the original unchanged queue; changed queues and known speaker restarts fail that step without playing a different source. A queue_backup reconstructs its saved contents on the original player; this replaces the current queue and can retain bounded queue-content undo after a complete verified recall on unchanged groups. A line_in source selects its exact saved input only inside the original household, with readiness checks before writes and source identity checks at dispatch. A sonos_playlist reloads its current native contents on every recall, with household and title checks. A tracks or sonos_playlist_tracks source reloads its exact saved sequence, including duplicate occurrences, without a catalog lookup. Native selections use their original household and full speaker-owned metadata, without a Spotify favorite or sign-in. Artist and show sources resolve to up to ten tracks or episodes before scene writes, with fresh permissions and destination checks. Paused scenes load silently. These catalog sources replace queue contents and share the same complete-proof queue undo. Every replacement in a scene must be eligible; partial scenes, regrouping, DJ changes and uncertain results remain whole-action barriers. An incomplete apply retains the complete receipt and sets the MCP tool-error flag. An uncertain or partial apply must not be retried automatically: inspect the current house and queue before deciding to apply again. Volumes stay within your caps. undo_last can attempt to restore prior speaker state. Rooms no longer in the house are skipped; a step that fails is reported and independent groups still run. With `fade_secs` (1-60) the volumes ramp to the scene's over that long instead of jumping; the call answers when the fade is done.
cancel_announcementRequest cancellation of your exact announcement job, or any job when acting as the owner. Waiting work is released without speaker writes. Active playback is stopped only while the daemon still owns its announcement source/group, then normal restoration continues; manual changes are preserved. The returned status may still be playing/restoring. Read get_announcement until terminal and inspect not_restored. Repeating cancellation or cancelling a finished job never repeats Stop or playback. Imported recovery has no original delivery worker to cancel: inspect get_announcement and use abandon_announcement_recovery only when deliberately leaving current playback unrestored.
configure_policyEdit one complete house-policy section or room/client rule on the selected daemon. Requires configure_policy (house-config) plus current owner or manage_others administration. First read policy_configuration and supply its exact revision as expected_revision. change is a tagged object: set_defaults {max_volume,max_step,fade_secs}, set_quiet_hours {start:'22:00',end:'07:00',max_volume}, clear_quiet_hours, set_room {room,max_volume?,max_step?}, remove_room {room}, set_client {client,allow?,deny:[],grant:[],capped?,manage_others:false,mcp_profile?}, or remove_client {client}. Include kind with the tag. Each set replaces the COMPLETE named rule; preserve every existing rule field you intend to retain. Optional null/omitted fields restore inheritance. allow:null permits tools normally; allow:[] permits none unless separately granted. deny wins over allow/grant. Volume and step limits are 0-100; quiet hours are differing local HH:MM times and may cross midnight. manage_others grants administration; never add it merely to bypass a denial. MCP profile is essentials or full. The current saved policy authorizes the edit under the file lock, so proposed grants cannot authorize themselves. Unrelated entries/comments are preserved. Identical settings are a verified no-op. Saved limits affect future operations and may revoke your own access; this sends no speaker command and has no playback-history undo. CONFIG_CHANGED or an uncertain/lost response requires a fresh read and review; never automatically retry or write to a fallback store.
configure_roomsChange one saved room alias or default target in the selected daemon's configuration. Requires configure_rooms (house-config) and the owner or manage_others administrator permission. First call room_configuration and supply its exact revision as expected_revision. change is one tagged object: {kind:'set_alias',name:'downstairs',rooms:['Kitchen@S1','Office@S2']}, {kind:'remove_alias',name:'downstairs'}, {kind:'set_default',room:'Office@S2',client:'optional exact policy client key'}, or {kind:'clear_default',client:'optional exact policy client key'}. Omit client to change the global default; clearing a client's override restores the global fallback. Aliases name physical rooms or player IDs, never other aliases; all/everywhere/here are reserved. Preserve offline targets intentionally. Unrelated entries/comments remain. An identical change is a verified no-op. Changes affect future target resolution, including saved routines, and send no playback/group/volume commands. This configuration edit is not undoable through playback history. CONFIG_CHANGED or a lost/uncertain response requires a fresh read and review; never automatically retry or fall back to a second store.
current_favoritePreview the current native track or station in a room for saving to My Sonos. Returns favorite metadata and an opaque source revision; favorite.id is empty because nothing was saved. A queue source selects its exact current track occurrence; a radio source selects the station, not the transient song. Live inputs and group/queue URLs cannot become favorites. No speaker writes or Spotify lookup. Uses list_favorites and get_zone_state read permissions. Pass revision to save_favorite on this same household/group after reviewing the title.
delete_sceneForget the saved scene `name` (case ignored; list_scenes names the saved ones). Only the saved scene is removed; nothing on the speakers changes. Pass expected_revision from get_scene or list_scenes to delete only the reviewed definition. CONFIG_CHANGED preserves a competing edit; reread and review rather than retry. An unknown name is an error.
diagnosticsThe daemon's own warnings: the kinds storming in the last hour and every kind logged in the last day, with per-hour counts. A quick read of what the daemon is complaining about (events the daemon logged, not your command's result); lighter than `doctor`, which also reads every speaker. Each kind is its source site; a storm's sample message has rooms, the home directory and logins removed.
dj_configurationRead the owner's reusable DJ moods and automatic daily programs, their exact revision, and effective/factory definitions. The editable config contains only mood overrides; programs null uses built-in defaults, [] disables automatic moods, and an array replaces them in order. Read this before editing with dj_configure. No speaker or Spotify operation occurs.
dj_configureReplace reusable DJ mood overrides and automatic daily programs for the owner. First read dj_configuration; copy its editable config, make the requested changes, and pass that read's exact revision as expected_revision. All stored mood filter fields are preserved, including song_keywords, strict, and expires_at. Removing a built-in override restores its factory definition; removing a custom mood is refused while preferences, unexpired steering, saved scenes, or schedules still refer to it. Programs null restores defaults; [] disables automatic moods; ordered entries have days mon..sun, from/to HH:MM and a mood. Overnight windows belong to their starting day and the first matching entry wins. Saves affect future picks and preserve playback and queued music. On CONFIG_CHANGED or an uncertain result, read again and reconcile; never automatically retry or discard the revision.
dj_feedbackTell the DJ the owner likes or dislikes what plays now: `signal` is 'like' or 'dislike'. It nudges the song or work, its artist or composer, and its performer (decaying over weeks), so the DJ plays them more or less; two dislikes of a work keep it out for 180 days. `zone` is a room of the group it plays in (left out: the group the DJ plays in, when it plays in just one). Skips within 30 s and works heard to the end are noted on their own.
dj_moodsThe DJ's moods (built-in and the owner's moods.toml) with their constraints, the time-of-day programs (which mood plays when a zone isn't steered), and the steering in effect now: in `zone`'s group when a room is given, else the house's program. Use a mood's name with dj_steer or dj_start.
dj_preferSet or unset one standing DJ preference; it holds for every group until changed and applies from the DJ's next pick. Turn the owner's words into `key` and `value`. List keys add one item: favor.genres / avoid.genres ("jazz" finds "cool jazz"), favor.artists / avoid.artists, favor.eras / avoid.eras (a decade "1960s" or a classical period "baroque"), favor.moods / avoid.moods (dj_moods lists them), pin.artists / pin.albums / pin.tracks (always welcome, favored most) and ban.artists / ban.albums / ban.tracks (never; albums and tracks by Spotify URI or exact title). Plain keys: energy (0-100, in place of the time-of-day curve), explicit (true or false), and strict_avoids (true or false, default false). With strict_avoids true, the DJ waits for permitted music instead of relaxing exhausted standing avoids; already queued music keeps playing. Pins and explicitly named steering keep their existing precedence. Examples: 'more jazz' is favor.genres "jazz"; 'never play Nickelback' is ban.artists "Nickelback"; 'go easy on the 80s' is avoid.eras "1980s"; 'keep it mellow' is energy "30". `unset` true removes `value` from a list (no value: the whole list; scalar settings go back to their defaults). With strict_avoids false, an avoid gives way only when nothing else is left; a ban never relaxes.
dj_preferencesThe owner's standing DJ preferences, which hold for every group's DJ until changed: genres, artists, eras and moods to favor or avoid, a default energy, whether explicit tracks may play, whether exhausted avoids stay strict, and artists, albums or tracks to pin or ban. Steering a group (dj_steer) outranks them; they outrank likes and dislikes.
dj_skipSkip the DJ's current piece in every selected group. `zone` accepts a room, multi-room alias, all/everywhere, or all@S1 / all@S2. Each distinct group acts once and keeps its membership; DJs remain independent. An idle group's failure does not prevent another selected group from skipping. Inspect SKIPPED notes for incomplete groups; partial results mark the tool result as an error and retain every group outcome. Do not replay a partial batch.
dj_statusWhat the DJ plays in the group a room plays in, and why: the song or work (with the movement, i of n, for a classical work), its artist or composer, performers, album, the reason it was chosen (a summary and the weighted factors), the next two works, and the steering in effect (from dj_steer, or the time-of-day program: mood, constraints, how long it lasts). `zone` is a room name.
dj_stopStop the DJ in every selected group. `zone` accepts a room, multi-room alias, all/everywhere, or all@S1 / all@S2. Each distinct group acts once and keeps its membership; DJs remain independent. An idle group's failure does not prevent another selected group from stopping. Inspect SKIPPED notes for incomplete groups; partial results mark the tool result as an error and retain every group outcome. Do not replay a partial batch.
dj_syncRequest a background refresh of the DJ's library from the owner's Spotify (read-only on Spotify): new saves and likes, artist genres, and the taste signals the sign-in allows. Use it after the owner saves new music; newly selected DJ picks use the updated cache. Answers at once; use dj_sync_status to follow durable saved-library and followed-artist intake and independent bounded genre enrichment. Retained partial reads survive restarts and never replace the last complete library. Existing work and Spotify cooldowns are respected; repeating this request does not bypass a rate limit.
dj_sync_statusWhere the DJ's Spotify library update stands: current activity, the last full refresh and its track counts, and any latest error. Saved-library intake reports retained pages and tracks, verification progress, pending work and retry/cooldown deadlines even before the first full refresh. Followed-artist intake reports retained pages and artists, verification progress, cache limits and retry deadlines; ready artist pages still await full library reconciliation. A bounded pause is unfinished work, not a published partial library. Artist genre enrichment has separate running, pending and completed counts, a retry deadline, Spotify cooldown, and whether a full refresh is required. The daemon continues unfinished reads and refreshes the library daily. This status read starts no work.
doctorDiagnose the setup: can the daemon reach the speakers, is Spotify linked in each household, are the listeners bound safely. Each check says pass, warn or fail, what was seen, and what to do about it. Read-only; nothing changes.
eventsWhat changed in the house since an event id: playback and track changes, volume and mute, regroups, players going offline, logged actions (who did what), and the DJ's picks. A zone.state with queue_changed asks you to reread the queue before using saved positions; catalog.changed identifies household favorites or saved Sonos playlists that need rereading. Call it without `since` to get the newest event id, then with `since` (the last_id you got) and `wait_secs` (0-60, default 0) to wait for the next changes; each answer has a new last_id. A `reset` means events were missed: read list_zones and any observed queues or native catalogs afresh. Needs the daemon (`fsonos serve`).
fade_and_pauseFade every distinct group selected by `zone` out over `seconds` (1-60), pause it, and put its volumes back, so the next play starts at the old level; answers when done. `zone` accepts a room, saved alias, all/everywhere, all@S1 or all@S2. Independent groups fade concurrently. Manual changes win in their own group. Partial results retain every target and are tool errors; inspect them before another command, without replaying the batch. Optional expected_revision is the audience revision from resolve_rooms.
fade_volumeRamp the volume over time: every room `zone` names (a room, one of your aliases, or `all`/`everywhere`) goes to `volume` (0-100) over `seconds` (1-60), each room kept within your caps; answers when the ramp is done, and undo_last puts the volumes back. Leave `seconds` out to let each speaker ramp itself at its own pace (about 0.8 s a step); that answers once each speaker has started (one that can't ramp itself is stepped there first). A manual change to a room meanwhile wins there. For a long fade out at bedtime, use set_sleep_timer.
get_announcementRead one retained announcement by its exact returned id, including durable recovery receipts after daemon restart. Cancellation requested is not completion: continue reading until completed, cancelled or failed and inspect the final restoration report. For recovery=true, failed delivery can still include successful restoration; read result and not_restored. can_abandon_recovery is advisory: abandon_announcement_recovery rechecks authority and requires explicit confirmation to leave current playback unrestored. Read-only; unknown/expired or another caller's job returns NO_MATCH.
get_eqA room's tone: bass and treble from -10 to 10 (0 is flat), and whether loudness compensation (more bass and treble at low volume) is on. `zone` is a room name, Room@S1 / Room@S2, or one of your aliases.
get_policyThe house policy in effect, and who you are under it: the default room volume cap and the largest single increase, the quiet-hours window and its lower cap, rooms with caps of their own, and clients with tool rules (only these tools, never these) or caps switched on or off. Check it before a volume change that might be clamped, or when a tool answers POLICY_DENIED.
get_queueThe queue a room's group plays from: its tracks in order (position, title, artist, album, URI), how many there are, and the position playing now (absent when the group isn't playing from its queue). `zone` is a room; `offset` skips that many tracks from the start (default 0); `limit` 1-100, default 50. search_queue finds title, artist or album words across a bounded section and returns exact occurrences with this queue's revision.
get_sceneShow one saved scene by `name` (case ignored; list_scenes names the saved ones): how its rooms group, what each group plays and whether it plays, and each room's volume and mute. Authored tracks show every selected occurrence in order. Queue references show an occurrence in the original unchanged queue; queue_backup summaries also show the number of saved entries that recall can reconstruct. Nothing on the speakers changes; put the house in it with apply_scene.
get_zoneThe zone (group) a room plays in: the rooms grouped with it (coordinator first), the household (S1/S2), whether the group is playing, paused or stopped, and any degraded rooms (e.g. one half of a stereo pair offline). For the current track and volume use get_zone_state. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household).
get_zone_stateWhat a room is doing right now: its group, whether that group is playing, paused or stopped, the renderer's reported transport_status (ERROR_OCCURRED means a playback failure; absence means unknown), the current track or station (title, artist, position), and the room's volume (and the whole group's, when it plays with others). A track_error means track details could not be read; independently observed transport and levels remain available. Do not mistake an absent track with track_error for an empty source or a playback failure. Call this before changing anything relative ('a bit louder', 'what's playing?'). `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household).
groupMove the room `zone` into the group that the room `to` plays in, so they play the same thing in sync. Both must be in the same household. Room names are case-insensitive; Room@S1 / Room@S2 picks a household.
group_allParty mode: group every room of a household into one zone. Give `zone` (the room whose group the others join), or `household` (S1, S2: the group playing now leads, else the first room); with a single household, neither.
inspect_favoriteInspect one exact native My Sonos favorite before renaming or removing it. Give zone in its household (Room@S1 / Room@S2 disambiguates room names) and favorite as the FV:2/<n> id from list_favorites; names and numbered positions are not accepted. Returns the native entry and its opaque revision. No playback changes. Pass this exact identity and revision to rename_favorite or remove_favorite on the same household/group. Uses list_favorites read permission.
list_announcementsRead up to 64 active/recent announcement jobs visible to this caller, newest first. Includes queued/preparing/playing/restoring stages, cancellation intent and final restoration receipts; no speech text or uploaded audio. Ordinary callers see their own jobs; the local CLI and configured owner may inspect all. Includes retained interrupted recovery after daemon restart: recovery=true identifies those jobs and can_abandon_recovery reports whether abandonment may currently be available. Read-only; never starts, restores or repeats playback.
list_favoritesList the Sonos favorites of the household a room belongs to (tracks, stations, albums and playlists the owner saved in the Sonos app), numbered. Play one with play_favorite. `zone` is any room of that household.
list_line_inList native line-in sources on the Sonos household containing zone. A source includes its exact player id, room, input name and icon. Read failures remain in unavailable, so an empty sources list does not prove that no input exists. A listed input does not prove that a cable is connected or audio is present. This read changes no playback, queue, volume or grouping and needs no Spotify sign-in. Uses list_players permission. Select a returned player id with play_line_in to play that exact input on a group in the same household; Room@S1 or Room@S2 disambiguates the destination.
list_playersList every Sonos player of every household: its room, household (S1/S2), model, generation, and IP address. This is the device inventory `fsonos discover` shows; use list_zones for how they group and list_rooms for room aliases.
list_roomsList every room: its household (S1/S2), the zone (group) it plays in, and the owner's aliases for it. Any tool's `zone` accepts a room name, Room@S1 / Room@S2, or one of these aliases.
list_scenesList the saved scenes: named house states, each with how the rooms group, what each group plays (a favorite, a native saved Sonos playlist, an ordered track selection, a URI, the DJ with a saved mood and full direction, a captured queue position, or whatever it has) and whether it plays, and each room's volume and mute. A queue reference requires the original unchanged queue. A queue_backup retains complete contents and rebuilds the original player's queue on recall. Put the house in a scene with apply_scene.
list_schedulesList the schedules: what each does, when (`when`), who added it, whether it is paused, and its next run. Each current row includes an opaque revision for update_schedule, pause_schedule, resume_schedule and remove_schedule; reread after an edit, pause/resume or claimed occurrence.
list_sleep_timersList the sleep timers that run: when each group pauses and whether it fades out first. Give zone to select a room, saved alias, all/everywhere, all@S1 or all@S2; omit it to list every running timer.
list_sonos_playlistsList playlists saved on a Sonos household, independently of My Sonos favorites and Spotify's library. zone is any room in that household; Room@S1 or Room@S2 disambiguates equal room names. Each result has its household-local SQ: id and title. Play it with play_sonos_playlist, or append/insert it with add_to_queue's playlist argument. Reads the selected daemon and uses the existing list_favorites permission. No Spotify library sign-in is needed.
list_zonesList the zone groups: which rooms play together, in which household (S1/S2), and whether each group is playing, paused or stopped.
listening_history_pageRead a page of recorded plays in newest recording order. Optional query searches title, artist and source URI using case-insensitive literal text (at most 200 characters; surrounding whitespace is ignored). Omit before for the first page. Pass its next_before string unchanged as before to continue with the same zone and query. Each page returns items and next_before; null means the end of the matching archive. Optional zone narrows to a room's group. Limit defaults to 20 and must be 1-500.
move_in_queueMove consecutive queue entries without clearing, re-enqueueing or restarting playback. First read get_queue. Pass its revision as REQUIRED expected_revision, one-based position, and one to 100 exact consecutive renderer URIs in expected_uris. insert_before refers to a position in the ORIGINAL queue; total plus one appends. Destinations inside or just after the selected block are no-ops. Returns the block's new position and observed revision. Check undoable: undo_last requires a saved complete bounded backup and unchanged queue, group and playback since the confirmed edit. Never automatically retry a failed move or discard a revision; read the queue again after uncertainty.
move_playbackMove the music a room plays to another room, as if it followed you: in one household the group is handed over (or regrouped) without a gap; between households (S1 and S2 never group) set `copy` true to replay the same track, at the same position, there and stop it here. `zone` is the room the music is in, `to` the room it goes to (names case-insensitive; Room@S1 / Room@S2 picks a household; aliases work).
move_sonos_playlist_tracksMove a contiguous block within one native Sonos saved playlist, retaining duplicate occurrences and the block's internal order. First read sonos_playlist_contents, then use its exact playlist.id (SQ:n), revision as expected_revision and same household/group. position and insert_before both refer to the ORIGINAL one-based contents; count is positive. Original total + 1 appends. An insertion slot in the selected block or immediately after it is a verified no-op. The complete playlist must fit 1000 entries and 4 MiB for full verification. Returns the original selected range, previous_total, total and observed new revision. Existing playing queues, playback, volume and DJ are untouched. Uses move_sonos_playlist_tracks / house-config permission; no Spotify sign-in is needed. Not undoable through action history. An uncertain or malformed response is never replayed automatically: read saved contents on the original household before another edit.
muteMute a room, or unmute it with `mute` false (default true). `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
nextSkip to the next track in the group a room plays in. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
pausePause the group a room plays in. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
pause_schedulePause a schedule by its id (from list_schedules): it does not run until resumed. Pass that read's revision as expected_revision to pause only the reviewed definition, enabled state and last occurrence. A changed routine returns CONFIG_CHANGED; read and review again. An already claimed run may finish. After an uncertain response, inspect list_schedules before another change; never automatically retry.
playPlay a source in every existing group selected by a room, multi-room alias, all or everywhere; Room@S1 / Room@S2 or all@S1 / all@S2 picks a household. Groups remain independent, without regrouping or synchronized starts. `source_uri` is a Spotify track, album, playlist, artist, episode or show URI/link, or a radio/HTTP stream or Sonos favorite URI. Albums and playlists replace each selected queue. An artist requires the owner's Spotify catalog sign-in and resolves once per request to up to ten top tracks or a bounded album sample; a show resolves to up to ten available episodes from its first page. Every group receives the same ordered selection through its own household's Spotify linkage. Source preparation completes before speaker changes; one action log and undo cover the set subject to restoration proof. Inspect SKIPPED notes for partial speaker failures. Optional `title` labels the request.
play_favoritePlay a Sonos favorite in each existing group selected by a room, multi-room alias, all or everywhere; all@S1 / all@S2 selects one household. Groups remain independent. `favorite` is its title (case, accents and punctuation ignored; a unique prefix or all its words in any order will do), its number from list_favorites, or its FV:2/<n> id. Resolve it independently on every selected household; numbers and ids are household-local. Albums and playlists replace each selected queue. All source reads complete before playback changes. One action log and undo cover the set, subject to successful restoration proof; inspect SKIPPED notes for partial speaker failures.
play_line_inPlay one Sonos native line-in on every selected existing group. zone accepts a room, a multi-room alias, all/everywhere, or all@S1 / all@S2; grouped rooms act once. source is an exact player id from list_line_in, or a source room/single-room alias. Exact ids preserve the selected input even when its player belongs to a stereo pair. Every destination must be in the source's household; a cross-household selection is rejected before playback or volume changes. The source must advertise a usable native input; discovery does not prove that a cable is connected or audio is present. Starts each destination coordinator with the existing play permission and per-room volume caps, sharing one action log and playback undo. All destinations are prepared before writes. Multi-group receipts retain each success and failure; an incomplete result marks the tool as an error. Groups remain independent, without synchronized starts. Retains queue entries and does not regroup rooms. A live input cannot be queued. No Spotify sign-in is needed. Never automatically retry an uncertain playback response.
play_queuePlay an existing entry in a room's group queue without adding or removing tracks. First read get_queue or search_queue and pass the chosen occurrence's one-based position; optional expected_uri must be the exact renderer URI returned for that entry, so a changed selection is refused. Also pass the queue's opaque revision as expected_revision to reject edits and coordinator changes even with duplicate track URIs. On a mismatch read the queue again; never silently discard these checks. Activates the queue even when a radio or another source is playing. Room caps and quiet hours apply, and undo_last restores previous playback. Preserves shuffle/repeat; do not automatically replay a failed request.
play_sonos_playlistReplace each selected group's queue with a playlist saved on its Sonos household and start it. zone accepts a room, multi-room alias, all or everywhere; all@S1 / all@S2 selects one household. Existing groups remain independent. Read list_sonos_playlists first, then pass playlist as its SQ: id, numbered position or unambiguous title. Each household resolves its own catalog before any playback changes; ids and numbers are household-local. No Spotify library sign-in is needed. Uses play_favorite permission, volume caps, staged queue replacement and one action log/undo for the set, subject to restoration proof. Inspect SKIPPED notes for partial speaker failures. Use add_to_queue to insert without starting playback. Never automatically retry an uncertain response.
play_tracksReplace each selected group's queue with the same ordered selection of 1-10 Spotify tracks or episodes and start the first occurrence in NORMAL mode (shuffle and repeat off). zone accepts a room, saved alias, here, all/everywhere, all@S1 or all@S2; Room@S1 or Room@S2 disambiguates households. Already grouped rooms are deduplicated and groups keep their members; playback across groups is independent, not synchronized. Each tracks entry has source_uri (a Spotify track/episode URI or share link) and optional title. Preserve the supplied order and intentional duplicates, including mixed tracks and episodes; albums, artists, playlists and shows are not expanded here. No Spotify Web API sign-in is needed for concrete track identities; the household still needs working Spotify playback linkage. Optional expected_revision is the destination queue revision from get_queue, not a cached library revision, and requires a selector resolving to one group; a changed queue is refused. Uses the existing play permission and room volume caps. One action is logged for the complete selection; undo_last can restore the previous queues and playback only when complete before-and-after proof was captured for every group. Multi-group receipts preserve each target's result; partial delivery is an error and must not be replayed as a batch. A failed or uncertain response is terminal: inspect playback, the queue and action log before another action; never automatically replay the selection.
policy_configurationRead the selected daemon's complete saved house policy and its exact revision before configure_policy. Includes default volume/step/fade settings, quiet hours, every named room cap, and full client allow/deny/grant/capped/manage_others/MCP-profile rules. Requires owner or manage_others administration and read permission; get_policy remains the ordinary caller's view of active limits. A missing file returns built-in defaults. Invalid saved policy is reported rather than replaced. Sends no speaker command or discovery.
previousGo back a track in the group a room plays in. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
queue_selectionPlay or queue 1-10 exact native occurrences from an observed live Sonos queue, preserving their order and intentional repeats. First read get_queue or search_queue; keep zone as that source group, positions as its one-based positions, and expected_revision as its queue revision. Optional target names another room, saved alias or all@S1/all@S2 in the SAME household; omit it to target the source group itself. Already grouped rooms receive one copy. mode is required: play stages and verifies the selection before replacing each destination queue and starts its first occurrence in NORMAL order; next inserts after the current item when its queue is selected, otherwise appends; append adds at the end. Next and append preserve playback and volume. The source queue and playback remain intact unless its group is targeted; a source that is also a destination runs last so every other group uses the original source occurrences. Native resource and service metadata are read from Sonos, never supplied by the client; local files and non-Spotify services are supported without Spotify Web API sign-in. expected_target_revision optionally binds the destination audience from resolve_rooms. expected_queue_revision optionally binds one destination queue and cannot be used for a multi-group set. Uses play_favorite permission and volume caps for play, add_to_queue for next/append. One action records confirmed effects and undo when ownership is proved. batch or queue_batch preserves each target result; incomplete delivery is a tool error with receipts. Never retry a failed or uncertain selection automatically; read the queues and action log before another command.
recent_actionsThe house's recent actions, newest first: who asked (client), what (intent), the policy decision (allow / clamp / deny) and what happened, and whether each can be undone. Optional `limit` (default 20), `since` (unix seconds) and `client` filter.
recent_playsWhat played recently, newest first: each play's URI, the room whose group played it, and when (unix seconds). Plays started through fsonos and by the DJ are recorded. Optional `zone` (a room) narrows it to that group; `limit` default 20, at most 500.
remove_favoriteRemove one exact reviewed My Sonos favorite from its household. First inspect_favorite and retain the favorite.id (FV:2/<n>) and revision as expected_revision. Names and catalog numbers cannot identify a deletion; a changed entry or group is refused before the write. A fresh catalog confirms absence. This removes the shortcut, not the music, playing source or queued copies. Uses remove_favorite / house-config permission; cannot be undone through action history. Never automatically retry an uncertain response: read list_favorites in the original household before another edit.
remove_from_queueRemove consecutive entries from a room's group queue. First read get_queue, then pass the one-based starting position and exact renderer URIs in expected_uris (one to 100, in queue order). Pass that response's revision as expected_revision to reject intervening queue or coordinator changes. Uses revision-checked deletion, never clears/rebuilds the queue, and never automatically retries a failed write. Check the result's undoable field: undo_last can restore a selected queue only when a complete bounded backup was saved and the queue, group and playback still match the confirmed edit. Read the queue again after any uncertain result rather than blindly retrying.
remove_scheduleRemove a schedule by its id (from list_schedules). Pass that read's revision as expected_revision to remove only the reviewed definition, enabled state and last occurrence. A changed routine returns CONFIG_CHANGED; read and review again. An already claimed run may finish. After an uncertain response, inspect list_schedules before another change; never automatically retry.
remove_sonos_playlistPermanently remove one native Sonos saved playlist from its household. This removes its saved catalog entry, leaving any already loaded queue, playback, volume and DJ unchanged. Review the playlist with sonos_playlist_contents and pass its exact playlist.id (SQ:n) and revision as expected_revision on the same household/group; names and catalog numbers are not accepted. Changed contents, player or group are refused before the write. A fresh catalog must confirm absence. Uses remove_sonos_playlist / house-config permission. Cannot be undone through action history. Never automatically retry an uncertain response: inspect list_sonos_playlists on the original household before another edit.
remove_sonos_playlist_tracksPermanently remove consecutive track occurrences from one native Sonos saved playlist while leaving all loaded playing queues, playback, volume and DJ unchanged. First read sonos_playlist_contents and use its exact playlist.id (SQ:n) and revision as expected_revision on the same household/group. position is the first original one-based occurrence and count is the positive number of consecutive entries. Duplicate URIs remain distinct occurrences. The complete saved playlist must fit 1000 entries and 4 MiB for full verification. A changed playlist or group is refused. A confirmed receipt includes previous_total, total, and the new contents revision. Removing the last entries keeps the empty saved playlist. Uses remove_sonos_playlist_tracks / house-config permission; no Spotify sign-in is needed. Not undoable through action history. An uncertain or malformed response is never replayed automatically: read saved contents on the original household before another edit.
rename_favoriteRename one reviewed My Sonos favorite while preserving its native identity and playback metadata. First call inspect_favorite in this household/group, then pass its exact favorite.id and revision as expected_revision. title must be nonblank, contain no controls and fit 1023 UTF-8 bytes after trimming. A changed native entry or group is refused; a same-title request is a checked no-op. Playback, queue, levels and DJ continue. Uses rename_favorite / house-config permission; not undoable through action history. Do not automatically retry an uncertain reply: read the original household's favorites before another edit.
rename_sonos_playlistRename one native Sonos saved playlist without changing its identity, contents, playing queue, playback, volume or DJ. First read sonos_playlist_contents for this household/group, then supply its exact playlist.id (SQ:n) and revision as expected_revision. Titles and catalog numbers cannot identify the target. title must be nonblank, contain no control characters and fit 1023 UTF-8 bytes after trimming. Changed contents, player or group are refused before the write. A fresh catalog confirms the new title; a same-title request is a validated no-op. Uses rename_sonos_playlist / house-config permission. Not undoable through action history. Never automatically retry an uncertain response: read list_sonos_playlists on the original household before any new edit.
resolve_roomsResolve a room, player id, alias, here, all or everywhere before reviewed source playback. Qualify targets with @S1 or @S2 when needed. Returns the exact target, an opaque revision, selected physical room identities and every affected existing group, including members not explicitly named by an alias. Read every group's current state if needed, then pass this target and revision unchanged to control_source. A revision observes identities and membership; it grants no permission and does not reserve the speakers. Requires resolve_rooms, list_rooms and list_zones read permissions. Uses the selected daemon's inventory and aliases without sending playback commands.
resumeResume (or start) playback in the group a room plays in. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
resume_scheduleResume a paused schedule by its id (from list_schedules); runs missed while it was paused are not made up. Pass that read's revision as expected_revision to resume only the reviewed definition, enabled state and last occurrence. A changed routine returns CONFIG_CHANGED; read and review again. After an uncertain response, inspect list_schedules before another change; never automatically retry.
room_configurationRead all authored room aliases and global/per-client default targets on the selected daemon, including offline targets, an exact revision, and advisory inventory warnings. This is the complete saved configuration, unlike list_rooms, which reports discovered rooms. Aliases select physical rooms; they do not group speakers. The default room resolves here; a client's explicit default overrides the global one. Read before configure_rooms. No speaker command or network survey occurs.
save_favoriteSave the reviewed current native track or station as a My Sonos favorite in this room's household. First call current_favorite and review its actual source, then supply that revision as expected_revision and a nonblank title (no controls, at most 1023 UTF-8 bytes after trimming). The daemon retains the speaker's renderer metadata, rechecks the source, selected occurrence, queue and group, sends one CreateObject, and confirms the new native id. Does not save a whole queue, change playback, volume or DJ ownership. Existing duplicate content or a full catalog can be refused by Sonos. Uses save_favorite / house-config permission. Not undoable through action history. Never automatically retry a lost/uncertain reply; inspect list_favorites in the original household first.
save_sceneSave a scene called `name` (1-64 characters): the house as it is now (how the rooms group, each room's volume and mute, what each group plays and whether it plays), or, with `scene`, the one it writes out: {"groups": [{"coordinator": room, "members": [rooms], "source": {"kind": "favorite", "name": title} (or kind tracks with tracks [{source_uri: Spotify track/episode URI or link, title: optional text}, ...] containing 1-10 entries in exact order with duplicates retained, or kind line_in with name set to the exact input player from list_line_in, or kind sonos_playlist with name set to the target household’s exact SQ: id, or kind sonos_playlist_tracks with name set to that id and selection {zone: original source room, positions: [3, 1, 3], expected_revision: observed playlist contents revision}, or kind dj with optional mood and direction {constraints: {include_artists: [names], include_genres: [genres], ...}, for_secs: 7200}, uri with a stream uri or a Spotify track, album, playlist, artist, episode or show link, keep), "playing": bool}], "volumes": {room: 0-100}, "mutes": {room: bool}}. A captured DJ retains its added filters and remaining duration, renewed on recall; an explicit empty direction without a mood clears prior steering. All steering constraint fields supported by add_schedule are accepted. Capturing an ordinary queue saves its selected occurrence, elapsed time and known play mode as a bookmark by default. With backup_queues true, complete ordered contents are retained (up to 1000 entries and 4 MiB per queue) and recall can rebuild the original player's queue after edits or a restart. Recall replaces that player's current queue; a complete verified scene on unchanged groups can retain bounded queue-content and scoped-level undo. Inspect the result and undo preview for eligibility. Capture fails if a queue cannot be saved completely. The option cannot accompany scene. Captured queue sources cannot be authored; omit scene to capture them. To edit an existing scene while retaining its full private source metadata or queue backup, use kind saved with name equal to the exact original group coordinator from get_scene, and supply that scene’s exact expected_revision. The retained source stays on its original physical room and household; omitted playing preserves its saved intent. The public read need not expose private source fields. Its rooms must be in the house now, and its favorites in their group's household. A line_in source retains the exact physical input and household, including a stereo secondary jack. Recall checks input capability before regrouping or volume changes, preserves both queues, and playing false loads silently. A tracks source retains concrete identities and optional titles; each recall replaces the queue through the destination household’s own renderer, and playing false loads it silently. A sonos_playlist_tracks source saves 1–10 exact native occurrences, including local files and non-Spotify tracks, with speaker-owned metadata and the original household. Recall retains that exact order and repeats after playlist edits or removal; playing false loads silently. It cannot be retargeted to another household. A sonos_playlist source pins the household, native id and current title; every recall replaces the queue from that playlist’s current contents, refuses missing or renamed identities, and can retain bounded queue-content undo after a complete verified recall on unchanged groups. A scene of the same name (case ignored) is replaced. Pass expected_revision from get_scene or list_scenes to replace only the reviewed definition, or absent to create only an unused name; CONFIG_CHANGED preserves a competing edit and requires a fresh read. Nothing on the speakers changes. Artist and show URIs are stored without catalog access, then resolve on each recall using the owner's Spotify sign-in.
save_sonos_playlistSave the current queue of a room's group as a new playlist on its Sonos household. Give zone (Room@S1 or Room@S2 disambiguates names) and title (nonblank, no control characters, at most 1023 UTF-8 bytes after trimming). The queue must contain tracks. Always creates a new native SQ: id; it cannot overwrite or delete a playlist. Does not start, stop or change playback, queue contents, volume or the DJ. Returns the playlist confirmed in that household's catalog and whether the separate action log was saved. Uses save_sonos_playlist / house-config permission; no Spotify sign-in is needed. Not undoable through action history. Never automatically retry an uncertain response: read list_sonos_playlists for this household first.
search_and_playSearch the owner's library plus the target room's household Sonos favorites and immediately play one ranked match. `pick` is one-based and defaults to 1; use search_library first when you want to inspect choices. The selected hit is played through the same guarded play/play_favorite path, so volume policy, action logging, undo, history and household-specific Spotify rendering still apply. Do not retry automatically after an uncertain playback error.
search_librarySearch the owner's saved Spotify library for music, and with `zone` also that room's household Sonos favorites. `query` is title words, a composer or performer, an album or playlist name, or a catalog number ('goldberg gould', 'bwv 988', 'dvorak 9', 'op 67'); case, accents and small typos are forgiven. Results come best first: play a track, a saved album or one of the owner's playlists with `play` (zone, source_uri; an album or playlist replaces the queue) or a favorite with `play_favorite` (zone, favorite). `limit` 1-50, default 10.
search_queueFind title, artist or album words in a room's existing group queue without changing playback or adding tracks. Matching ignores case and accents; every word must match. Returns exact one-based positions, renderer URIs and an opaque queue revision, keeping duplicate occurrences separate. limit is 1-200 matches (default 50); each call scans a bounded section, so inspect complete, examined and next_offset even if no matches return. To continue, pass next_offset as offset and the same revision as expected_revision, retaining zone and query. Offset above zero requires expected_revision. A changed queue fails instead of mixing revisions; begin a fresh search explicitly. To play a result, pass its position, exact URI as expected_uri and revision as expected_revision to play_queue. Search results are not necessarily consecutive; read get_queue before a range move or removal. Uses the get_queue read permission.
search_sonos_playlistFind track occurrences in a saved Sonos playlist by title, artist or album. Give the source room (Room@S1 or Room@S2 if needed), the playlist from list_sonos_playlists, and your query. The default limit is 50 matches (1-100). Each match keeps its one-based playlist position, including duplicates. Each call scans a bounded part of the playlist. If complete is false, continue even after an empty page using next_offset, the exact returned playlist.id and revision as expected_revision, with the same zone and query. Restart the search if the playlist changes. Pass the id, revision and positions to sonos_playlist_track or sonos_playlist_tracks to play or queue a selection. Uses list_favorites read permission and needs no Spotify sign-in.
search_spotifySearch Spotify's online catalog using the owner's signed-in account, independently of the saved-library cache. query is 1-256 UTF-8 bytes of text without control characters. kind must be track, album, artist, playlist, show, or episode; limit is 1-10 (default 10). Results preserve Spotify's order and contain canonical source_uri, title and optional subtitle. offset is 0-1000 (default 0). To continue, repeat the exact query, kind and limit with the returned next_offset; do not infer an offset from the filtered item count. A null next_offset ends available continuation, even when more is true at the provider bound. Search order may change between reads. This only reads metadata and does not discover speakers, change the saved library, filter by DJ taste, or start playback. Review the results, then explicitly select a source_uri with play or add_to_queue; artist and show sources resolve to bounded selections through the normal guarded playback path. Requires search_spotify / read permission.
seekMove within the track the group a room plays in is on. Give exactly one of `to_secs` (seconds from its start; 0 starts it over) or `by_secs` (seconds from where it is now: 30 skips ahead, -15 goes back; kept within the track). A radio stream has no position to move in. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household) or one of your aliases.
set_eqChange a room's tone: any of `bass` and `treble` (-10 to 10, 0 is flat) and `loudness` (true/false); what you leave out stays as it is. Undoable with undo_last. `zone` is a room name, Room@S1 / Room@S2, or one of your aliases.
set_sleep_timerSleep timers: pause each distinct group selected by `zone` after `duration` ('45m', '1h30m', '90s', or minutes as '45'; at most 23h), fading out over the last two minutes when the daemon runs. With extend true, push each running timer duration later; a group without a timer reports its own failure. With cancel true and no duration, cancel each selected timer. zone accepts a room, saved alias, all/everywhere, all@S1 or all@S2. Room-set results retain every group's timer or failure; an incomplete result is a tool error and must not be replayed as a batch. Optional expected_revision is the audience revision from resolve_rooms.
set_volumeChange a room's volume: give exactly one of `volume` (0-100, absolute) or `delta` (-100..100, relative; e.g. +5 for 'a bit louder'). With `group` true the change applies to the room's whole group. The house policy may lower a loud request; the reply then says so. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to act on every room.
sonos_playlist_contentsInspect a playlist saved on a Sonos household without replacing the playing queue or changing playback, volume or the DJ. This reads native SQ: contents, not Spotify's cached playlists, and needs no Spotify sign-in. Give zone (Room@S1 or Room@S2 disambiguates households) and playlist as an SQ: id, current catalog number or unambiguous title from list_sonos_playlists. Returns title, artist, album, available duration/art/renderer identity, and exact one-based positions; duplicate tracks remain separate occurrences. limit is 1-100 (default 100). Continue with next_offset, the returned playlist.id and revision as expected_revision. An offset above zero requires the revision; a changed playlist, player or group fails instead of mixing pages. Start a fresh read explicitly after change. Uses list_favorites read permission. Use sonos_playlist_track with the exact playlist.id, item position and revision to play or queue one occurrence; sonos_playlist_tracks selects 1-10 occurrences in the requested order with the same revision proof. play_sonos_playlist or add_to_queue select the whole native playlist.
sonos_playlist_trackPlay or queue one exact track occurrence from a native Sonos saved playlist. First read sonos_playlist_contents, then pass its exact playlist.id (SQ:n), the item's one-based position, and that page's revision as expected_revision, on the same household/group. mode must be play, next or append. play starts only this track using the speaker's own service metadata and retains the current queue; existing volume caps and DJ handoff apply. next inserts after the current queue occurrence, or appends if the group is not using its queue; append adds at the end. Both queue modes leave playback and volume unchanged and record an exact undo range. The server rereads and validates the occurrence; it never accepts a raw media URI or client metadata. Changed saved contents, group or player return QUEUE_CHANGED and require a fresh contents read. Uses play_favorite permission for play and add_to_queue for queue modes. A failed or uncertain mutation is never automatically retried: inspect playback/queue before a new request.
sonos_playlist_tracksPlay or queue an ordered selection of 1-10 exact track occurrences from one native Sonos saved playlist. First read sonos_playlist_contents, then pass its exact playlist.id (SQ:n), one-based positions in the desired order, and revision as expected_revision, keeping zone as the original source group. Optional target selects another room, saved alias or all@S1/all@S2 within that same household; grouped rooms are addressed once. expected_target_revision optionally binds the physical destination audience from resolve_rooms before source reads or writes. Repeated positions are retained deliberately. mode is required: play stages and verifies the full selection before replacing the queue and starts its first item in NORMAL order; next inserts after the current queue occurrence or appends when another source is selected; append adds at the end. Both queue modes leave playback and volume unchanged and retain exact per-group ranges under one undo action. expected_queue_revision optionally binds one destination queue and is rejected for multiple groups. Playback returns batch and queue modes return queue_batch with each confirmed success or failure; incomplete delivery is a tool error preserving these receipts. All entries are reread and validated before a write using their native service metadata; raw media URIs and client metadata are never accepted. An unavailable entry or changed saved contents/source group/player during preflight rejects all destinations before writes. Uses play_favorite for play and add_to_queue for next/append, with existing caps and action history. An uncertain partial batch is never replayed automatically; inspect the queue and playback before a new request. No Spotify sign-in is needed.
undo_lastUndo your own most recent action: restore the volumes, grouping and what was playing in the zones it changed. Partial restoration marks the tool result as an error and retains the summary and failures. Inspect those details; the action may already be consumed, so never automatically replay an undo.
ungroupTake a room out of its group so it plays on its own. `zone` is a room name (case-insensitive; Room@S1 / Room@S2 picks a household), one of your aliases, or `all`/`everywhere` to break every group up (each group's leading room plays on).
update_scheduleEdit an existing routine in place without running its action. First call list_schedules, then pass the exact id and revision as expected_revision. schedule is a complete replacement definition using add_schedule fields: {when, action, zone?, scene?, mood?, direction?, volume?, fade_secs?, announcement?}. Actions are dj_start, pause, volume, apply_scene and announce; retain the existing direction or announcement object when changing only the time. Examples: {when:'weekdays 08:00',action:'dj_start',zone:'Kitchen@S1',mood:'bright'} or {when:'daily 22:00',action:'pause',zone:'Bedroom',fade_secs:30}. Preserves schedule id, original creator and enabled/paused state. New definitions affect future occurrences; an already claimed run may finish. Same-definition edits are validated no-ops. Both editor and original creator must be allowed the replacement action. Uses update_schedule / house-config permission. A stale revision, changed definition or intervening scheduler claim returns CONFIG_CHANGED; read and review again. A changed one-shot needs a future time. Not undoable through action history. Never automatically replay an uncertain response or fall back to a second store; inspect list_schedules on the selected daemon first.

Security checks

  • ✓README presentThe repository's README runs to about 4.7K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionScanned 386 source files and found 1 call to eval or shell execution, in crates/fsonos-api/src/http/remote/studio.rs. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

README

The repository's README runs to about 4.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Frankensonos

How do I install Frankensonos?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Frankensonos safe to use with an AI agent?

Its trust score is 66 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Frankensonos still maintained?

Yes — the last commit was 6 hours ago. The repository has 140 stars and 11 forks and 6 open issues.

What tools does Frankensonos provide?

Conduid read 97 tools from the source: abandon_announcement_recovery, add_to_queue, add_tracks_to_queue, add_tracks_to_sonos_playlist, announce, announce_start, append_sonos_playlist_tracks, apply_scene and 89 more.