# Tools

***

### description: Complete reference of all available MCP tools

## Tools Overview

This page provides a comprehensive list of all available MCP tools in the Lavanda platform.

### Availability

Tools for the unit calendar — read per-night bookings, blocks, and stay restrictions, and set unit-level default availability. [See all Availability tools →](/mcp/tools/availability.md)

| Tool                                                                                                | Description                                                                                 |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [`get_unit_availability`](/mcp/tools/availability/get_unit_availability.md)                         | Per-night calendar data for a single unit, with bookings, blocks, and overbooking detection |
| [`get_unit_type_availability`](/mcp/tools/availability/get_unit_type_availability.md)               | Per-night aggregated availability counts across all units of a unit type                    |
| [`update_units_default_availability`](/mcp/tools/availability/update_units_default_availability.md) | Bulk-set the unit-level default calendar availability (AVAILABLE or UNAVAILABLE)            |

### Spaces

Tools for managing buildings, unit types, and units. [See all Spaces tools →](/mcp/tools/spaces.md)

#### Buildings

| Tool                                                                  | Description                                                              |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [`get_building`](/mcp/tools/spaces/buildings/get_building.md)         | Get building information by ID                                           |
| [`create_buildings`](/mcp/tools/spaces/buildings/create_buildings.md) | Create multiple buildings in parallel                                    |
| [`update_buildings`](/mcp/tools/spaces/buildings/update_buildings.md) | Update multiple buildings, including building-level tax-code assignments |
| [`search_buildings`](/mcp/tools/spaces/buildings/search_buildings.md) | Search buildings with filtering, sorting, and pagination                 |

#### Unit Types

| Tool                                                                     | Description                                                        |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| [`get_unit_type`](/mcp/tools/spaces/unit-types/get_unit_type.md)         | Get unit type information by ID with optional pagination for units |
| [`create_unit_types`](/mcp/tools/spaces/unit-types/create_unit_types.md) | Create multiple unit types in parallel                             |
| [`update_unit_types`](/mcp/tools/spaces/unit-types/update_unit_types.md) | Update multiple unit types in parallel                             |
| `get_unit_type_listings`                                                 | Get all channel listings for a unit type                           |
| [`search_unit_types`](/mcp/tools/spaces/unit-types/search_unit_types.md) | Search unit types with filtering, sorting, and pagination          |

#### Units

| Tool                                                                    | Description                                   |
| ----------------------------------------------------------------------- | --------------------------------------------- |
| [`get_unit`](/mcp/tools/spaces/units/get_unit.md)                       | Get unit information by ID                    |
| [`create_units`](/mcp/tools/spaces/units/create_units.md)               | Create multiple units in parallel             |
| [`update_units`](/mcp/tools/spaces/units/update_units.md)               | Update multiple units in parallel             |
| [`duplicate_unit`](/mcp/tools/spaces/units/duplicate_unit.md)           | Create one or more copies of an existing unit |
| [`close_unit_calendar`](/mcp/tools/spaces/units/close_unit_calendar.md) | Close unit calendar for a specific date range |
| [`open_unit_calendar`](/mcp/tools/spaces/units/open_unit_calendar.md)   | Open unit calendar for a specific date range  |

#### Amenities

| Tool                                                                  | Description                                                   |
| --------------------------------------------------------------------- | ------------------------------------------------------------- |
| [`list_amenities`](/mcp/tools/spaces/amenities/list_amenities.md)     | List all available amenity reference data                     |
| [`add_amenities`](/mcp/tools/spaces/amenities/add_amenities.md)       | Add amenities to an entity (unit, unit type, or building)     |
| [`set_amenities`](/mcp/tools/spaces/amenities/set_amenities.md)       | Set amenities for an entity, replacing all existing amenities |
| [`remove_amenities`](/mcp/tools/spaces/amenities/remove_amenities.md) | Remove amenities from an entity                               |

#### Beds

| Tool                                                         | Description                                                |
| ------------------------------------------------------------ | ---------------------------------------------------------- |
| [`add_beds`](/mcp/tools/spaces/beds/add_beds.md)             | Add beds to rooms on a unit or unit type                   |
| [`set_beds`](/mcp/tools/spaces/beds/set_beds.md)             | Set the complete bed configuration for a unit or unit type |
| [`remove_beds`](/mcp/tools/spaces/beds/remove_beds.md)       | Remove beds from a unit or unit type                       |
| [`list_bed_types`](/mcp/tools/spaces/beds/list_bed_types.md) | List all available bed type options                        |

#### Rooms

| Tool                                                  | Description                           |
| ----------------------------------------------------- | ------------------------------------- |
| [`list_rooms`](/mcp/tools/spaces/rooms/list_rooms.md) | List the rooms on a unit or unit type |

#### Space Types

| Tool                                                                    | Description                    |
| ----------------------------------------------------------------------- | ------------------------------ |
| [`list_space_types`](/mcp/tools/spaces/space-types/list_space_types.md) | List all available space types |

#### Marketing

| Tool                                                                             | Description                                                            |
| -------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [`update_marketing_details`](/mcp/tools/spaces/misc/update_marketing_details.md) | Update marketing field translations for a unit, unit type, or building |

#### Media Items

| Tool                                                                          | Description                                                   |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [`list_media_items`](/mcp/tools/spaces/media-items/list_media_items.md)       | List media items for a building, unit, or unit type           |
| [`update_media_items`](/mcp/tools/spaces/media-items/update_media_items.md)   | Update name, group, or tags on one or more media items        |
| [`reorder_media_items`](/mcp/tools/spaces/media-items/reorder_media_items.md) | Reorder media items by passing their IDs in the desired order |

#### Booking Policies

| Tool                                                                                       | Description                                               |
| ------------------------------------------------------------------------------------------ | --------------------------------------------------------- |
| [`get_booking_policy`](/mcp/tools/spaces/booking-policies/get_booking_policy.md)           | Get the booking policy for a unit, unit type, or building |
| [`update_booking_policies`](/mcp/tools/spaces/booking-policies/update_booking_policies.md) | Update one or more booking policies                       |

### Catalog

Tools for managing product groups, products, product services, and cancelation policies. [See all Catalog tools →](/mcp/tools/catalog.md)

#### Product Groups

| Tool                                                                                              | Description                                                                                |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [`get_product_group`](/mcp/tools/catalog/product-groups/get_product_group.md)                     | Get a product group by ID with its associated products                                     |
| [`list_product_groups`](/mcp/tools/catalog/product-groups/list_product_groups.md)                 | List product groups with workspace/state/published filters, sorting, and cursor pagination |
| [`create_product_groups`](/mcp/tools/catalog/product-groups/create_product_groups.md)             | Create one or more product groups                                                          |
| [`update_product_groups`](/mcp/tools/catalog/product-groups/update_product_groups.md)             | Update one or more product groups                                                          |
| [`update_product_groups_state`](/mcp/tools/catalog/product-groups/update_product_groups_state.md) | Activate or deactivate one or more product groups                                          |

#### Products

| Tool                                                                                  | Description                                                        |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [`get_product`](/mcp/tools/catalog/products/get_product.md)                           | Get a product by ID with its services, rate, and eligible services |
| [`create_products`](/mcp/tools/catalog/products/create_products.md)                   | Create one or more products                                        |
| [`update_products`](/mcp/tools/catalog/products/update_products.md)                   | Update one or more products                                        |
| [`update_product_rates`](/mcp/tools/catalog/products/update_product_rates.md)         | Update the rate for one or more products                           |
| [`delete_products`](/mcp/tools/catalog/products/delete_products.md)                   | Delete one or more products by ID                                  |
| [`allocate_product_units`](/mcp/tools/catalog/products/allocate_product_units.md)     | Allocate units to a product's availability pool                    |
| [`unallocate_product_units`](/mcp/tools/catalog/products/unallocate_product_units.md) | Unallocate units from a product's availability pool                |

#### Product Services

| Tool                                                                                                      | Description                                        |
| --------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [`list_product_services`](/mcp/tools/catalog/product-services/list_product_services.md)                   | List the services currently attached to a product  |
| [`list_product_eligible_services`](/mcp/tools/catalog/product-services/list_product_eligible_services.md) | List services eligible to be attached to a product |
| [`add_product_services`](/mcp/tools/catalog/product-services/add_product_services.md)                     | Attach one or more services to a product           |
| [`update_product_services`](/mcp/tools/catalog/product-services/update_product_services.md)               | Update one or more services attached to a product  |
| [`remove_product_services`](/mcp/tools/catalog/product-services/remove_product_services.md)               | Remove one or more services from a product         |

#### Cancelation Policies

| Tool                                                                                                    | Description                                                     |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [`create_cancelation_policies`](/mcp/tools/catalog/cancelation-policies/create_cancelation_policies.md) | Create one or more workspace-level catalog cancelation policies |
| [`get_cancelation_policy`](/mcp/tools/catalog/cancelation-policies/get_cancelation_policy.md)           | Get a single cancelation policy by ID                           |
| [`update_cancelation_policies`](/mcp/tools/catalog/cancelation-policies/update_cancelation_policies.md) | Update one or more cancelation policies                         |

### Accounting

Tools for managing accounting entities such as instalment plan templates and tax codes. [See all Accounting tools →](/mcp/tools/accounting.md)

#### Instalment Plan Templates

| Tool                                                                                                                          | Description                                                                    |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [`list_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/list_instalment_plan_templates.md)         | List instalment plan templates for a workspace                                 |
| [`create_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/create_instalment_plan_templates.md)     | Create one or more instalment plan templates in a workspace                    |
| [`update_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/update_instalment_plan_templates.md)     | Update one or more instalment plan templates by ID                             |
| [`delete_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/delete_instalment_plan_templates.md)     | Delete one or more instalment plan templates by ID                             |
| [`assign_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/assign_instalment_plan_templates.md)     | Assign one or more instalment plan templates to one or more product groups     |
| [`unassign_instalment_plan_templates`](/mcp/tools/accounting/instalment-plan-templates/unassign_instalment_plan_templates.md) | Unassign one or more instalment plan templates from one or more product groups |

#### Tax Codes

| Tool                                                                      | Description                                 |
| ------------------------------------------------------------------------- | ------------------------------------------- |
| [`list_tax_codes`](/mcp/tools/accounting/tax-codes/list_tax_codes.md)     | List tax codes (VAT codes) for a workspace  |
| [`create_tax_codes`](/mcp/tools/accounting/tax-codes/create_tax_codes.md) | Create one or more tax codes in a workspace |
| [`update_tax_codes`](/mcp/tools/accounting/tax-codes/update_tax_codes.md) | Update one or more tax codes by ID          |

### Services

Tools for managing services on buildings. [See all Services tools →](/mcp/tools/services.md)

| Tool                                                        | Description                                 |
| ----------------------------------------------------------- | ------------------------------------------- |
| [`list_services`](/mcp/tools/services/list_services.md)     | List all active services for a building     |
| [`get_service`](/mcp/tools/services/get_service.md)         | Get a single service by ID for a building   |
| [`add_services`](/mcp/tools/services/add_services.md)       | Create one or more services for a building  |
| [`update_services`](/mcp/tools/services/update_services.md) | Update one or more services for a building  |
| [`remove_services`](/mcp/tools/services/remove_services.md) | Remove one or more services from a building |

### Distribution

Tools for managing channel listings, rate plans, and unit-type daily rates. [See all Distribution tools →](/mcp/tools/distribution.md)

#### Listings

| Tool                                                                                   | Description                                  |
| -------------------------------------------------------------------------------------- | -------------------------------------------- |
| [`create_listing`](/mcp/tools/distribution/listings/create_listing.md)                 | Create a channel listing for a unit type     |
| [`update_listing`](/mcp/tools/distribution/listings/update_listing.md)                 | Update a channel listing with partial fields |
| [`publish_listing`](/mcp/tools/distribution/listings/publish_listing.md)               | Publish a channel listing                    |
| [`get_unit_type_listings`](/mcp/tools/distribution/listings/get_unit_type_listings.md) | Get all channel listings for a unit type     |

#### Reference Data

| Tool                                                                                       | Description                                                  |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------ |
| [`get_channels`](/mcp/tools/distribution/listings/get_channels.md)                         | Get available channels for creating listings for a unit type |
| [`get_listing_accounts`](/mcp/tools/distribution/listings/get_listing_accounts.md)         | Get connected accounts for a specific channel                |
| [`get_cancelation_policies`](/mcp/tools/distribution/listings/get_cancelation_policies.md) | Get cancelation policies available for listings              |

#### Rate Plans

| Tool                                                                                           | Description                                |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------ |
| [`list_channel_rate_plans`](/mcp/tools/distribution/rate-plans/list_channel_rate_plans.md)     | List rate plans for a channel listing      |
| [`update_channel_rate_plans`](/mcp/tools/distribution/rate-plans/update_channel_rate_plans.md) | Bulk-update rate plans on channel listings |

#### Daily Rates

| Tool                                                                                                | Description                                                                |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [`get_unit_type_daily_rates`](/mcp/tools/distribution/daily-rates/get_unit_type_daily_rates.md)     | Get daily rates for a unit type over a date range                          |
| [`update_unit_type_daily_rate`](/mcp/tools/distribution/daily-rates/update_unit_type_daily_rate.md) | Apply a percentage or absolute adjustment to daily rates over a date range |

### Automations

Tools for creating and managing automation workflows. [See all Automations tools →](/mcp/tools/automations.md)

#### Workflows

| Tool                                                                                 | Description                               |
| ------------------------------------------------------------------------------------ | ----------------------------------------- |
| [`list_automation_workflows`](/mcp/tools/automations/list_automation_workflows.md)   | List automation workflows for a workspace |
| [`create_automation_workflow`](/mcp/tools/automations/create_automation_workflow.md) | Create an automation workflow             |
| [`update_automation_workflow`](/mcp/tools/automations/update_automation_workflow.md) | Update an automation workflow             |

#### Hooks & Actions

| Tool                                                                       | Description                                       |
| -------------------------------------------------------------------------- | ------------------------------------------------- |
| [`set_automation_hook`](/mcp/tools/automations/set_automation_hook.md)     | Set or update an automation hook for a workflow   |
| [`set_automation_action`](/mcp/tools/automations/set_automation_action.md) | Set or update an automation action for a workflow |

### DNA (Analytics)

Tools for analytics and metrics. [See all Metrics tools →](/mcp/tools/metrics.md)

| Tool                                             | Description                                                               |
| ------------------------------------------------ | ------------------------------------------------------------------------- |
| [`get_metric`](/mcp/tools/metrics/get_metric.md) | Get metric data from DNA with grouping, filtering, and time-range options |

### Tags

Tools for managing tags on entities. [See all Tags tools →](/mcp/tools/tags.md)

| Tool                                        | Description                                              |
| ------------------------------------------- | -------------------------------------------------------- |
| [`list_tags`](/mcp/tools/tags/list_tags.md) | List all tags for a given entity type within a workspace |

### Bookings

Tools for retrieving booking information.

| Tool                                                        | Description                                             |
| ----------------------------------------------------------- | ------------------------------------------------------- |
| [`get_booking`](/mcp/tools/bookings/get_booking.md)         | Get detailed booking information by ID                  |
| [`search_bookings`](/mcp/tools/bookings/search_bookings.md) | Search bookings with filtering, sorting, and pagination |

### AWC (Workspace Management)

Tools for managing workspaces. [See all AWC tools →](/mcp/tools/awc.md)

| Tool                                                       | Description                                     |
| ---------------------------------------------------------- | ----------------------------------------------- |
| [`search_workspaces`](/mcp/tools/awc/search_workspaces.md) | Search workspaces with filtering and pagination |
| [`get_workspace`](/mcp/tools/awc/get_workspace.md)         | Retrieve a single workspace by ID               |

### CRM

Tools for managing CRM data. [See all CRM tools →](/mcp/tools/crm.md)

#### Leads

| Tool                                                   | Description                                     |
| ------------------------------------------------------ | ----------------------------------------------- |
| [`create_leads`](/mcp/tools/crm/leads/create_leads.md) | Create one or more CRM leads from a spreadsheet |

#### Companies

| Tool                                                               | Description                                              |
| ------------------------------------------------------------------ | -------------------------------------------------------- |
| [`search_companies`](/mcp/tools/crm/companies/search_companies.md) | Search companies with filtering, sorting, and pagination |

#### Subjects

| Tool                                                            | Description                                                                |
| --------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [`create_subjects`](/mcp/tools/crm/subjects/create_subjects.md) | Create one or more CRM subjects with optional namespace associations       |
| [`update_subjects`](/mcp/tools/crm/subjects/update_subjects.md) | Update one or more CRM subjects, including name and namespace associations |

#### Lead Statuses

| Tool                                                                       | Description                                                 |
| -------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [`list_lead_statuses`](/mcp/tools/crm/lead-statuses/list_lead_statuses.md) | List the lead statuses configured for a given CRM namespace |

### FAQs

Tools for managing FAQs.

| Tool                                            | Description |
| ----------------------------------------------- | ----------- |
| [`create_faqs`](/mcp/tools/faqs/create_faqs.md) | Create FAQs |
| [`update_faqs`](/mcp/tools/faqs/update_faqs.md) | Update FAQs |
| [`delete_faqs`](/mcp/tools/faqs/delete_faqs.md) | Delete FAQs |

### Tickets & Tasks

Tools for managing operational procedures, checklists, and workflows. [See all Tickets & Tasks tools →](/mcp/tools/tickets-tasks.md)

#### Procedures

| Tool                                                                                  | Description                                               |
| ------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [`list_procedures`](/mcp/tools/tickets-tasks/procedures/list_procedures.md)           | List all procedures for a unit                            |
| [`list_procedure_types`](/mcp/tools/tickets-tasks/procedures/list_procedure_types.md) | List all available procedure types for a workspace        |
| [`get_procedure`](/mcp/tools/tickets-tasks/procedures/get_procedure.md)               | Get procedure details including checklist and media items |
| [`create_procedures`](/mcp/tools/tickets-tasks/procedures/create_procedures.md)       | Create one or more procedures                             |
| [`update_procedures`](/mcp/tools/tickets-tasks/procedures/update_procedures.md)       | Update one or more procedures                             |

### Related Documentation

* [Setup](/mcp/setup.md) - Configure the MCP server
* [Structure & Terms](/concepts/structure-and-terms.md) - Understanding the data model
* [Auth](/concepts/auth.md) - Authentication and authorization


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lavanda.app/mcp/tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
