get_activity_by_id
Retrieve detailed Strava activity metrics, including type, distance, and time, using the activity ID. Ideal for extracting specific workout data for analysis or integration.
Instructions
Get activity details from Strava
Args:
activity_id (Union[str, int]): Activity ID to fetch
Returns:
Dict: Activity details including type, distance, time and other metrics
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activity_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"activity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Activity Id"
}
},
"required": [
"activity_id"
],
"title": "get_activity_by_idArguments",
"type": "object"
}