sg_route
Calculate a route between two coordinates in Singapore, choosing driving, walking, or public transport options.
Instructions
Get route between two points in Singapore. Supports driving, walking, and public transport. Requires SG_ONEMAP_EMAIL + SG_ONEMAP_PASSWORD. Use sg_geocode first to get coordinates.
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": {
"start": "<start>",
"end_point": "<end_point>"
},
"name": "sg_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Route type: drive, walk, or pt (public transport) | drive |
| start | Yes | Start coordinates as "lat,lng" e.g. "1.3521,103.8198" | |
| end_point | Yes | End coordinates as "lat,lng" |