maps_get_route_share_link
Retrieve the Google Maps share URL for a selected transit route by specifying the expected origin and destination, after route selection.
Instructions
Return the Google Maps-generated share URL from the visible Share directions dialog for one selected simple transit route. expectedOrigin and expectedDestination must match the active canonical directions request; the route must already be selected with maps_select_route. The operation is intentionally transit-only for the currently live-observed JA/en-US share surface and never reads clipboard contents. Interactive Assist must be enabled.
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": {
"expectedOrigin": "<expectedOrigin>",
"expectedDestination": "<expectedDestination>"
},
"name": "maps_get_route_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expectedOrigin | Yes | ||
| expectedDestination | Yes |