get_adjacent_activities
Retrieves the previous and next activity IDs for a given Garmin activity, returning None when either adjacent activity is absent.
Instructions
[read-only] Return the ids of the previous and next activity (None when absent).
Signature: get_adjacent_activities(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_adjacent_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |