create_workout
Log a new workout by recording its type, start time, duration, and optional details like calories, distance, heart rate, and end time.
Instructions
Log a new workout
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": {
"workout_type": "<workout_type>",
"started_at": "<started_at>",
"duration_minutes": "<duration_minutes>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ended_at | No | End time (ISO format) | |
| started_at | Yes | Start time (ISO format) | |
| workout_type | Yes | Type of workout (e.g., 'running', 'cycling', 'strength') | |
| calories_burned | No | Calories burned | |
| distance_meters | No | Distance in meters | |
| duration_minutes | Yes | Duration in minutes | |
| average_heart_rate | No | Average heart rate |