# Save own exercise

> Names an exercise of your own, or changes one.

`WRITE save_exercise`

Your assistant names an exercise only when a search finds nothing that fits. The exercise is yours alone, and Splot's own exercises can't be changed.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| `id` | string | Only to change one of the person's own exercises, as list_exercises returned it; leave out for a new one. |
| `name` | string | What the person calls it; needed for a new exercise. Up to 200 characters. |
| `measure` | string | How a set is logged: weight for a weight and reps, reps with the body as the load, time for seconds held. Needed for a new exercise, and never changed on one already used. One of `weight`, `reps` or `time`. |
| `equipment` | string | What it is done with; needed for a new exercise. One of `barbell`, `dumbbell`, `machine`, `cable`, `kettlebell`, `bodyweight`, `pullUpBar`, `rings`, `parallettes`, `dipBars`, `band`, `ball`, `suspension`, `sled` or `other`. |
| `muscles` | array | The main muscle groups it works. Up to 14 items. |
| `helps` | array | Muscle groups that help. Up to 14 items. |
| `parts` | array | Precise muscles within those groups, where the person cares, such as sideDelts. Up to 40 items. |
| `sided` | boolean | true when it is done one side at a time. |
| `description` | string or null | How it is done, in a few short lines. Up to 4,000 characters. |
| `note` | string or null | The person's own note to themselves about it. Up to 4,000 characters. |

## What your assistant is told

The tool's own instructions, word for word, as every assistant receives them.

> Name an exercise of the person's own, or with id change one. Search list_exercises first and save a new one only when nothing there fits, never for a movement Splot already has under another name. A new exercise needs name, measure and equipment; with id, only what you pass changes and null clears description or note. Splot's own exercises cannot be changed. Muscles shade the person's muscle map, so name the groups the movement really works. Confirm only after success.
