icu_update_activity_streams
Overwrite an activity's time-series streams with raw power, HR, cadence, or other data supplied as JSON or CSV.
Instructions
Upload raw time-series streams (power, HR, cadence, etc.) onto an existing activity. Destructive — overwrites existing stream data.
Accepts JSON array or CSV. Different from get_activity_streams (READ).
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>",
"payload_string": "<payload_string>"
},
"name": "icu_update_activity_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Format of the payload: 'json' or 'csv' | json |
| activity_id | Yes | Activity ID to update | |
| payload_string | Yes | JSON array of stream dictionaries or raw CSV data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |