Add or update an exercise
upsert_exerciseCreate or update an exercise in the user's catalog (keyed by its id/name).
Prefer a pool exercise: call search_exercise_pool first and pass its slug as the id
plus pool_slug, so the movement keeps one identity and one history.
Only hand-write an exercise when the pool genuinely has nothing for it — then always set
instructions (2-3 short technique cues, in the user's language), primary_muscles,
category and equipment: the muscle map and the app UI are blank without them.
Fields you omit are left as they are, so a partial update is safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exercise | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||