Config-driven flight search workflow using the Amadeus API.
- Extracts search constraints
- Calls the
flight_searchtool (Amadeus API) - Summarizes results
- Workflow is defined in
workflow.toml. - Prompts live in
prompts/and are injected into the workflow config at runtime. - The tool is implemented in
tools/flight_search.goand registered as an internal tool.
go run .- INPUT_TEXT (optional input; defaults to a sample query)
- AMADEUS_CLIENT_ID (Amadeus API key)
- AMADEUS_CLIENT_SECRET (Amadeus API secret)
- AMADEUS_BASE_URL (optional; default https://test.api.amadeus.com)
- The tool requires valid Amadeus credentials and will error if they are missing.
- The search step is the only one with tools enabled.