strava_export_activities
Export Strava activity history to local raw JSON, compact JSON, or CSV files, with optional filters for date range, sport type, and gear.
Instructions
Export bounded activity history to ignored local raw JSON, compact JSON, and CSV audit files.
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": {
"after": "<after>"
},
"name": "strava_export_activities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | Unix timestamp lower bound. Required so summaries do not accidentally fetch full history. | |
| before | No | Optional Unix timestamp upper bound. | |
| source | No | Activity source. Defaults to cache_then_api. | |
| gearIds | No | Optional Strava gear_id allowlist. | |
| maxPages | No | Maximum Strava activity-list pages to fetch. Defaults to 20. | |
| sportTypes | No | Optional Strava sport_type allowlist, such as Run, TrailRun, Ride, or MountainBikeRide. |