Commute time from a home
commute_timeTravel time from a home to a place the user names (office, school), by public transport (with legs and transfers), car, foot or bike, from OneMap for a typical departure. From an ANJU listing or any place; to a station, school, building, street or postal code. Examples: {"listing":"imp-3f9a…","to":"Raffles Place MRT"} · {"from_place":"Punggol","to":"NUS"}.
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": {
"to": "<to>"
},
"name": "commute_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Where the user goes, in their words ("one-north", "018989"). Bad: "work" (not a place). | |
| day | No | "weekday" (default, the next Monday-to-Friday), "saturday" or "sunday". | |
| modes | No | Default ["public_transport","drive"]. | |
| listing | No | A search result's "id" or "url" to start from. Give this OR from_place. | |
| depart_at | No | 24-hour Singapore time, e.g. "08:30" (default). Public transport depends on it. | |
| from_place | No | Start from a place instead: a station, town, school, address or postal code ("Bishan"). |