Get workout details
get_workout_detailsReturns workout metadata, preview assets, and summary. Use when the user selects a workout or asks for details about a specific workout. sample-* ids return a curated sample detail (no auth). Connected team workout ids use the Internal API (same data as get_team_workout). Other org ids use the Content API when the team has API entitlement.
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_id": "<workout_id>"
},
"name": "get_workout_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| workout_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _viewType | Yes |