Set the complete bed configuration for a unit or unit type. Computes a diff against current beds: creates new beds
(no id),
updates changed beds (by id), and deletes beds not in the list. Pass an empty array to remove all beds. Use
list_bed_types to discover valid bed type IDs.
| Parameter |
Type |
Required |
Description |
entityType |
EntityType |
Yes |
The type of entity to manage beds for (UNIT or UNIT_TYPE — beds do not apply to buildings) - EntityType |
entityId |
string |
Yes |
The ID of the unit or unit type |
beds |
SetBedInput[] |
Yes |
The desired final list of beds. Existing beds not included are deleted. Pass an empty array to remove all beds. - SetBedInput |
| Field |
Type |
Required |
Description |
id |
string |
No |
The existing bed ID. Provide to keep/update an existing bed; omit to create a new bed. |
roomId |
string |
Yes |
The ID of the room the bed belongs to |
bedTypeId |
string |
Yes |
The ID of the bed type (e.g. king, queen, single, double, bunkBed, sofaBed, etc.) |
| Value |
Description |
UNIT |
A single accommodation unit |
UNIT_TYPE |
A unit type grouping multiple units |
| Field |
Type |
Description |
content |
ContentItem[] |
Array of content items returned by the tool - ContentItem |
isError |
boolean |
Whether the tool execution resulted in an error |
| Field |
Type |
Description |
type |
'text' |
Content type (currently only ‘text’ is supported) |
text |
string |
The text content to display |