add_gear_to_activity
Link a piece of gear to a Garmin Connect activity using gear UUID and activity ID. Raises GarminConnectionError if the gear is not found, retired, or removed.
Instructions
Links a piece of gear to an activity. On 404 re-raises as GarminConnectionError ("gear not found (likely retired/removed)").
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": {
"gearUUID": "<gearUUID>",
"activityId": "<activityId>"
},
"name": "add_gear_to_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gearUUID | Yes | ||
| activityId | Yes | Numeric id |