set_activity_type
Change a Garmin Connect activity's type using its activity ID and type identifiers; returns null on success.
Instructions
Changes an activity's type. Resolves to null on success.
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": {
"activityId": "<activityId>",
"typeId": "<typeId>",
"typeKey": "<typeKey>",
"parentTypeId": "<parentTypeId>"
},
"name": "set_activity_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeId | Yes | ||
| typeKey | Yes | ||
| activityId | Yes | Numeric id | |
| parentTypeId | Yes |