Show a workout
show_workoutShows a training session, or a programme of several, as one card: each exercise with its drawing and what was prescribed, opening to its details when tapped. Exercises are named in English, in the call and on the card, and matched to the library's names, with word order, plurals, abbreviations and small misspellings understood; one that matches nothing is shown by its name with the closest exercises. Every field but an exercise's name is optional, so a plain list of exercises is a workout too. Returns the workout as text with each drawing's URL, and the exercises as JSON with their data and image URLs.
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": {
"sessions": "<sessions>"
},
"name": "show_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aim | No | What the workout is for. | |
| lang | No | The language of the card's own words, such as headings, rounds and rest: en or sv, English for any other. Exercise names stay English. | |
| title | No | The title on top. | |
| sessions | Yes | One session, or a programme's sessions in order. | |
| duration_min | No | The length in minutes. |