Update activity
update_activityRename a Garmin activity, replace its description, or both. Omitted fields remain unchanged.
Instructions
Rename an activity, replace its description, or both; what is not given is left as it is.
For a strength session's exercises, reps or weights use edit_activity_sets; to remove the activity, delete_activity. The new text replaces the old. Name and description are separate Garmin requests, so if the second fails the first still stands.
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": "update_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The new title. | |
| activity_id | Yes | Garmin's activity id, from list_activities. | |
| description | No | The new description, replacing the old. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||