export_activity_file
Save a Rouvy activity to the export folder as a FIT file or CSV of per-second records; overwrites prior exports and returns the absolute file path.
Instructions
Save one Activity to the rider's export folder: its Activity file as downloaded from Rouvy (fit), or its per-second records as CSV (csv). Overwrites an earlier export of the same Activity and returns the file's absolute path.
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": "export_activity_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | fit: the Activity file; csv: per-second records. | csv |
| activity_id | Yes | An Activity id as returned by list_activities. |