Execute a Transitous API action
execute_api_actionExecute a predefined transit API action by providing its ID and documented parameters, returning MOTIS data for station search or journey routing.
Instructions
Execute one read-only operation from the allowlisted Transitous/MOTIS action catalog. Supports every documented GET and computational POST operation; arbitrary URLs and undocumented parameters are rejected. Use search_api_actions to obtain the action ID and parameter fields. Large responses may be truncated. API documentation: https://transitous.org/api/ OpenAPI: https://github.com/motis-project/motis/blob/v2.10.2/openapi.yaml Usage warning: Transitous is a volunteer-run, best-effort service intended for FOSS and non-profit use. Use a descriptive User-Agent with contact details, cache results, avoid heavy traffic, and contact Transitous before resource-intensive or commercial use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON object for POST actions; omit for GET actions | |
| query | No | Documented query parameters; arrays are encoded as comma-separated values | |
| actionId | Yes | Allowlisted action ID returned by search_api_actions | |
| maxResponseBytes | No | Maximum response bytes returned through MCP; narrow large map queries when possible | |
| acknowledgeHeavyRequest | No | Required for actions marked resourceIntensive after reviewing the Transitous usage policy |