update_activity
Updates an Intervals.icu activity's RPE, feel, name, or description while preserving untouched fields; use dry_run to preview the write request.
Instructions
Use only when the athlete asks to rate, rename or describe an activity: writes RPE, feel, name or description of one activity to Intervals.icu.
Only the given fields are sent (PUT /activity/{id}); every other value stays. name and description REPLACE the current text, so read it first with get_activity_details to extend it; an empty description is ignored, clear_description empties it. At least one field is required; dry_run shows the request. Activities imported from Strava cannot be updated (the API returns an error). Returns the stored values and the activity summary. Notes go to add_activity_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rpe | No | Perceived exertion, integer 1-10 (1 = very easy, 10 = maximal); stored as icu_rpe | |
| feel | No | How the athlete felt, integer 1-5: 1 = Strong, 2 = Good, 3 = Normal, 4 = Poor, 5 = Weak | |
| name | No | New name; replaces the current one, must not be blank | |
| dry_run | No | true = check and return the exact request, write nothing | |
| activity_id | Yes | Activity id, e.g. i123456789 | |
| description | No | New description; REPLACES the current text (an empty string is ignored) | |
| clear_description | No | Empty the description on purpose |