List locations
list_locationsList locations (rooms, floors, areas within buildings). Optionally filter by building or location type. Locations of an archived site are left out unless include_archived is true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: all pages fetched automatically) | |
| search | No | Search by name | |
| per_page | No | Items per page (default: 1000, max: 1000). All pages are fetched automatically. | |
| building_id | No | Filter by building ID - resolve via list_buildings | |
| include_archived | No | Include locations archived with their site (default false) | |
| location_type_id | No | Filter by location type ID - resolve via list_location_types |