get_activity_polyline
Returns the encoded gPolyline track for a Garmin activity ID, so you can map or visualize the recorded route.
Instructions
[read-only] Return the encoded track polyline of an activity (gPolyline).
Signature: get_activity_polyline(activity_id: int | str) -> dict[str, Any]
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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |