Create Exercise
create_exerciseAdd a new exercise to the user's GymTimer library with required name, muscle groups, equipment, and optional photo. Category/movement pattern default to compound/push until edited.
Instructions
Adds a new exercise to the user's library, optionally with a photo. Note: the new exercise's category/movement pattern aren't set by this tool (a known limitation) - it'll show up on the user's devices with default values (compound/push) until edited from the app.
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": {
"name": "<name>",
"muscleGroups": "<muscleGroups>",
"equipment": "<equipment>"
},
"name": "create_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exercise name, e.g. "Incline Dumbbell Press" | |
| equipment | Yes | Equipment needed, e.g. ["dumbbell","bench"]. Must be one of: barbell, dumbbell, kettlebell, machine, cable, bodyweight, band, bench, pullUpBar, trx, other. | |
| photoPath | No | Absolute local file path to a photo/image to attach (jpg/png/heic, max 15MB), e.g. "/Users/me/Pictures/lat-pulldown.jpg". Uploaded as the exercise's custom photo, shown instead of the default icon. | |
| muscleGroups | Yes | Muscle groups worked, e.g. ["chest","triceps"]. Must be one of: chest, back, shoulders, biceps, triceps, forearms, abs, quads, hamstrings, glutes, calves, fullBody, cardio (e.g. "core" is invalid - use "abs"). Invalid values are rejected with an error rather than silently written, since a bad value crashes the app until fixed. |