bus_line_info
Details of a Carris Metropolitana line: name, route ends, directions, municipalities.
Use for "where does line 4715 go?", "which bus goes from Cacilhas to Almada?", or to check
whether a line passes a stop (include_stops=True). If line is not an exact line number it
is treated as text (e.g. "Oriente Setubal") and the matching lines are listed instead.
trips_today = 0 means the line does not run today (some lines are seasonal or weekday-only).
Departure times past midnight are written "24:30", "25:10" (same service day).
Args: line: 4-digit line number ("4715") or free text matched against line names. include_stops: Also list every stop (id + name) in order for each direction.
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": {
"line": "<line>"
},
"name": "bus_line_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| include_stops | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||