MCP tool · Sleep configuration
Assign user to device zones
Assigns a user onto specific zone(s) of a device (e.g. "put me back on zone_b"). device_id and zone ids come from list_devices.
assign_zone If a requested zone is occupied, push_away_behavior decides what happens to the occupant: switch_zone_first moves them to a free zone when possible (else away); only_away always marks them away.
Input
One arguments object with these fields.
device_idstring requiredDevice id (the "id" field from list_devices, NOT the serial)
zone_idsstring[] required min items 1Zone ids to assign the user to, e.g. ["zone_a"] or ["zone_a","zone_b"]. zone_a is on the right for someone standing at the foot of the bed facing it (the sleeper's left when lying in it); zone_b is the other side.
user_idstring (uuid)Target user id (from list_devices shared_with). Defaults to the authenticated user. Anyone on a bed may move themselves; acting on another user needs the owner or admin role on a shared bed.
push_away_behaviorenum<string> defaultswitch_zone_firstHow to handle a user already occupying a requested zone. Default: switch_zone_first.
Possible values:
only_awayswitch_zone_first
Output
successboolean required
Example arguments
POST /v1/sleep-configuration/assign