update_products

Update one or more products. Required field: product ID. Optional fields: name, product type (STUDENT, SHORT_STAY, or MULTI_FAMILY), target unit count, and target occupancy percentage. At least one field to update must be provided.

Input

Parameter
Type
Required
Description

products

UpdateProductInput[]

Yes

Array of product entries to update - UpdateProductInput

UpdateProductInput

Field
Type
Required
Description

productId

string

Yes

The ID of the product to update

name

string

No

The name of the product

productType

ProductType

No

The type of the product - ProductType

targetUnitCount

number

No

The target count of units for this product

targetOccupancyPercentage

number

No

The target occupancy percentage (0-100)

ProductType

Value
Description

STUDENT

SHORT_STAY

MULTI_FAMILY

Output

Field
Type
Description

content

ContentItem[]

Array of content items returned by the tool - ContentItem

isError

boolean

Whether the tool execution resulted in an error

ContentItem

Field
Type
Description

type

'text'

Content type (currently only 'text' is supported)

text

string

The text content to display

Last updated