Icu Update Activity Message
icu_update_activity_messageReplace the text of an existing note on an Intervals.icu activity to correct or rewrite your own comment; returns the old and new text for reference.
Instructions
REPLACE the text of an existing note on an activity (edit, not add).
Use when the user wants to fix or rewrite a note they already left: "correct my note on that ride", "change the comment to say...". Only the author's own notes can be changed. Returns the old and the new text — the old text is not recoverable otherwise. To post an additional note use icu_add_activity_message.
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>",
"message_id": "<message_id>",
"content": "<content>"
},
"name": "icu_update_activity_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | New note text; replaces the old text entirely | |
| message_id | Yes | ID of the note to change (from icu_get_activity_messages) | |
| activity_id | Yes | The Intervals.icu activity ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |