Get bus AI summaries
get_bus_ai_summariesBuilds one differentiating line for each bus on the results card, from the search payload already fetched (no bus-details calls), using Azure OpenAI inside this server. An empty line is valid when nothing stands out. Used by the bus results card after it renders; it renders no card of its own. It prefers the search_context that search_buses returned, so no second search is needed, and re-fetches the route only when that handoff is missing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trip_refs": "<trip_refs>",
"source": "<source>",
"destination": "<destination>",
"date": "<date>",
"cards": "<cards>"
},
"name": "get_bus_ai_summaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| cards | Yes | ||
| source | Yes | ||
| sort_by | No | recommended | |
| bus_type | No | ||
| max_price | No | ||
| operators | No | ||
| time_slot | No | ||
| trip_refs | Yes | ||
| min_rating | No | ||
| destination | Yes | ||
| depart_after | No | ||
| depart_before | No | ||
| paytm_assured | No | ||
| boarding_point | No | ||
| search_context | No | ||
| source_city_id | No | ||
| destination_city_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summaries | No |