Skip to content

create_unit_types

Create multiple unit types in parallel. Marketing copy (title, descriptions, translations) is set separately via update_marketing_details after the unit types exist.

Parameter Type Required Description
unitTypes CreateUnitTypeInput[] Yes Array of unit types to create - CreateUnitTypeInput
Field Type Required Description
buildingId string Yes The ID of the building to create the unit type in
code string Yes The code/name of the unit type
numberOfBedrooms number No Number of bedrooms
numberOfBathrooms number No Number of bathrooms
maxOccupants number No Maximum number of occupants
spaceTypeId string No The ID of the space 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