> ## 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 — Viajes de negocio

> Consulta registros de viaje de negocio y sus emisiones con el MCP de Manglai

## Tools disponibles

| Tool                             | Endpoint                                 | Descripción                    |
| -------------------------------- | ---------------------------------------- | ------------------------------ |
| `get_business_travels`           | `GET /api/v1/business-travels`           | Lista de viajes con emisiones  |
| `get_business_travels_dashboard` | `GET /api/v1/business-travels/dashboard` | Dashboard de viajes de negocio |

## Tipos de transporte

* `plane` — Avión
* `train` — Tren
* `car` — Coche
* `bus` — Autobús
* `ship` — Barco

## Ejemplos de uso

```
"¿Cuántos viajes en avión hemos registrado este año?"
→ get_business_travels({ companyId: "uuid", transportType: "plane", startDate: "2024-01-01", endDate: "2024-12-31" })

"Dame un resumen de las emisiones por tipo de transporte"
→ get_business_travels_dashboard({ companyId: "uuid", startDate: "2024-01-01", endDate: "2024-12-31" })
```

## Parámetros comunes

### `get_business_travels`

| Parámetro       | Tipo      | Descripción               |
| --------------- | --------- | ------------------------- |
| `companyId`     | string    | ID de empresa (requerido) |
| `transportType` | string    | Tipo de transporte        |
| `startDate`     | string    | Fecha inicio (ISO 8601)   |
| `endDate`       | string    | Fecha fin (ISO 8601)      |
| `employeeId`    | string    | Filtrar por empleado      |
| `buildingIds`   | string\[] | Filtrar por edificios     |
| `page`          | integer   | Número de página          |
| `limit`         | integer   | Resultados por página     |
