get_listing_occupancy
Calculate the occupancy rate for a listing within a date range to measure booking performance and identify availability trends.
Instructions
Calculate occupancy rate for a listing over a date range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"listingId": "<listingId>",
"from": "<from>",
"to": "<to>"
},
"name": "get_listing_occupancy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date (YYYY-MM-DD) | |
| from | Yes | Start date (YYYY-MM-DD) | |
| listingId | Yes | The listing ID |