Update one or more property fees by id. Both mandatory and additional fees can be updated. All fees in a single call
must belong to the same entity (building, unit type, or unit).
| Parameter |
Type |
Required |
Description |
entityType |
EntityType |
Yes |
The type of entity the fees belong to - EntityType |
entityId |
string |
Yes |
The ID of the entity the fees belong to |
fees |
Fee[] |
Yes |
Array of fee updates keyed by fee id - Fee |
| Field |
Type |
Required |
Description |
id |
string |
Yes |
The property fee ID (from list_fees). Both mandatory and additional fees can be updated. |
basis |
Basis |
No |
How the fee is calculated - Basis |
cost |
number |
No |
New fee amount in the entity currency (minor units). Omit to leave unchanged. |
percentage |
number |
No |
New percentage value — only valid when basis is RENT_PERCENTAGE. |
guestThreshold |
number |
No |
New guest count above which the fee applies (e.g. for extra-person fees). |
| Value |
Description |
UNIT |
A single accommodation unit |
UNIT_TYPE |
A unit type grouping multiple units |
BUILDING |
A building containing unit types and units |
| Value |
Description |
FLAT |
Flat rate per stay |
NIGHTS |
Flat rate per night |
PEOPLE |
Flat rate per person |
PERSON_NIGHTS |
Flat rate per person per night |
RENT_PERCENTAGE |
Percentage of rent |
| 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 |