> ## Documentation Index
> Fetch the complete documentation index at: https://developers.manglai.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools — Inventory

> Buildings and fleet vehicles with the Manglai MCP

## Available Tools

| Tool | Kind | Description |
| - | - | - |
| `list_buildings` | Data | List company facilities |
| `list_vehicles` | Data | List fleet vehicles |
| `upsert_building` | Action | Create or update a facility |
| `delete_company_building` | Action | Soft-delete a facility |
| `upsert_vehicle` | Action | Create or update a vehicle |
| `delete_vehicle` | Action | Soft-delete a vehicle |

Action tools require `userConfirmed: false` (preview) then `userConfirmed: true` after user approval. See [MCP intro](https://developers.manglai.io/mcp/en/intro.md) and resources `manglai://api/mutations/buildings` and `manglai://api/mutations/vehicles`.

## Usage Examples

```
"List my buildings"
→ list_buildings()

"What vehicles are in the fleet?"
→ list_vehicles()

"Create a facility named Warehouse North"
→ upsert_building({ name: "Warehouse North", address: "...", country: "ES", userConfirmed: false })
→ upsert_building({ ..., userConfirmed: true }) after approval
```

Resolve ids with `list_buildings` / `list_vehicles` before update or delete. Deletes fail if the entity still has consumptions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.