get_workout_events
Retrieve a user's workout sessions within a date range, including type, duration, distance, calories, and heart rate data when available.
Instructions
Get workout events for a user within a date range.
This tool retrieves discrete workout sessions including type, duration, distance, calories, and heart rate data (if available from the wearable device).
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": {
"user_id": "<user_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_workout_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | UUID of the user. Use get_users to discover available users. | |
| end_date | Yes | End date in YYYY-MM-DD format. Example: "2026-01-07" | |
| start_date | Yes | Start date in YYYY-MM-DD format. Example: "2026-01-01" | |
| workout_type | No | Optional filter by workout type. Examples: "running", "cycling", "swimming", "strength_training", "walking", "hiking", "yoga", "hiit" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||