search_transport
Find car rentals, rideshare, and airport transfers timed to your flight. Get door-to-door options for rental cars or rideshare in US metro areas.
Instructions
Search ground transportation, car rentals, and rideshare options (Uber, Lyft, rental cars from Hertz / Enterprise / Sixt / Avis). Returns options timed to a flight arrival for door-to-door travel. Car rental is live across 15+ US metro areas; rideshare partnerships are in progress. Use this when the user wants a rental car, an airport transfer, or rideshare to/from their hotel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City or metro area (e.g., 'Miami', 'New York', 'Los Angeles') | |
| transport_type | No | Type of transport (default: all) | |
| pickup_location | No | Pickup: 'airport', 'hotel', or specific address | |
| dropoff_location | No | Dropoff: 'airport', 'hotel', or specific address | |
| pickup_datetime | No | Pickup date/time in ISO 8601 (e.g., '2026-04-01T14:30'). Used for surge pricing and car rental duration. | |
| return_datetime | No | Return date/time for car rentals (ISO 8601) | |
| passengers | No | Number of passengers (1-8, default: 1) | |
| vehicle_type | No | Preferred vehicle: economy, comfort, xl, black, black_suv (rideshare) or economy, compact, midsize, fullsize, suv, premium, minivan (rental) |
Implementation Reference
- src/server.ts:750-753 (handler)Handler for the 'search_transport' tool. Calls the API endpoint POST /v1/transport/search with the tool arguments and returns the raw JSON result (no trimming applied, unlike search_hotels/search_flights).
case "search_transport": { const result = await apiCall("POST", "/v1/transport/search", args); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } - src/server.ts:227-249 (schema)Schema definition for the 'search_transport' tool, defining its input properties (city, transport_type, pickup_location, dropoff_location, pickup_datetime, return_datetime, passengers, vehicle_type). Property 'city' is required.
{ name: "search_transport", description: "Search ground transportation, car rentals, and rideshare options (Uber, Lyft, rental cars from Hertz / Enterprise / Sixt / Avis). Returns options timed to a flight arrival for door-to-door travel. Car rental is live across 15+ US metro areas; rideshare partnerships are in progress. Use this when the user wants a rental car, an airport transfer, or rideshare to/from their hotel.", inputSchema: { type: "object" as const, properties: { city: { type: "string", description: "City or metro area (e.g., 'Miami', 'New York', 'Los Angeles')" }, transport_type: { type: "string", enum: ["rideshare", "car_rental", "all"], description: "Type of transport (default: all)", }, pickup_location: { type: "string", description: "Pickup: 'airport', 'hotel', or specific address" }, dropoff_location: { type: "string", description: "Dropoff: 'airport', 'hotel', or specific address" }, pickup_datetime: { type: "string", description: "Pickup date/time in ISO 8601 (e.g., '2026-04-01T14:30'). Used for surge pricing and car rental duration." }, return_datetime: { type: "string", description: "Return date/time for car rentals (ISO 8601)" }, passengers: { type: "number", description: "Number of passengers (1-8, default: 1)" }, vehicle_type: { type: "string", description: "Preferred vehicle: economy, comfort, xl, black, black_suv (rideshare) or economy, compact, midsize, fullsize, suv, premium, minivan (rental)" }, }, required: ["city"], }, }, - src/server.ts:228-248 (registration)Registration of 'search_transport' as a tool in the ALL_TOOLS array with its name, description, and inputSchema.
name: "search_transport", description: "Search ground transportation, car rentals, and rideshare options (Uber, Lyft, rental cars from Hertz / Enterprise / Sixt / Avis). Returns options timed to a flight arrival for door-to-door travel. Car rental is live across 15+ US metro areas; rideshare partnerships are in progress. Use this when the user wants a rental car, an airport transfer, or rideshare to/from their hotel.", inputSchema: { type: "object" as const, properties: { city: { type: "string", description: "City or metro area (e.g., 'Miami', 'New York', 'Los Angeles')" }, transport_type: { type: "string", enum: ["rideshare", "car_rental", "all"], description: "Type of transport (default: all)", }, pickup_location: { type: "string", description: "Pickup: 'airport', 'hotel', or specific address" }, dropoff_location: { type: "string", description: "Dropoff: 'airport', 'hotel', or specific address" }, pickup_datetime: { type: "string", description: "Pickup date/time in ISO 8601 (e.g., '2026-04-01T14:30'). Used for surge pricing and car rental duration." }, return_datetime: { type: "string", description: "Return date/time for car rentals (ISO 8601)" }, passengers: { type: "number", description: "Number of passengers (1-8, default: 1)" }, vehicle_type: { type: "string", description: "Preferred vehicle: economy, comfort, xl, black, black_suv (rideshare) or economy, compact, midsize, fullsize, suv, premium, minivan (rental)" }, }, required: ["city"], }, - src/server.ts:503-507 (helper)Annotation entry for 'search_transport' in TOOL_ANNOTATIONS: title 'Search Ground Transport', marked as readOnlyHint: true, idempotentHint: true, openWorldHint: true.
const TOOL_ANNOTATIONS: Record<string, { title: string; readOnlyHint?: boolean; destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean }> = { register_agent: { title: "Register as an Autonomad Agent", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }, search_hotels: { title: "Search Hotels", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, search_flights: { title: "Search Flights", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }, search_transport: { title: "Search Ground Transport", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },