Skip to content

get_beds

Read the beds on a unit or unit type, grouped by room, with each bed’s type (for example SINGLE or SMALL_DOUBLE). Rooms with no beds are included. Use it to check beds after add_beds or set_beds, and to get the bed ids that set_beds and remove_beds need.

Parameter Type Required Description
entityType EntityType Yes The type of entity to read beds for (UNIT or UNIT_TYPE — beds do not apply to buildings) - EntityType
entityId string Yes The ID of the unit or unit type
Value Description
UNIT
UNIT_TYPE
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