# Save own skill tree

> Adds or replaces a progression of your own.

`WRITE save_skill_tree`

Your assistant uses it when you ask for a progression of your own. It finds each step in [Search exercises](https://splot.health/docs/mcp/tools/list-exercises). Each link connects two steps in the tree, and the links cannot loop back to an earlier step.

To edit your tree, use its ID from [Read skill trees](https://splot.health/docs/mcp/tools/list-skill-trees) and send the full list of steps and links.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| `name` | string | Required. What the tree is called, such as Rings or Front lever. Up to 100 characters. |
| `steps` | array | Required. 1 to 200 items. |
| `links` | array | Required. Each step leading to a harder one; both must be steps of this tree. Up to 400 items. |
| `id` | string | Only to change a skill tree of the person's own, as list_skill_trees returned it; leave out for a new one. Up to 110 characters. |

### Steps

| Input | Type | Description |
| --- | --- | --- |
| `exercise` | string | Required. An exercise id from list_exercises. Up to 100 characters. |
| `needsAll` | boolean | true when this step waits on every step leading to it, not any one. |

### Links

| Input | Type | Description |
| --- | --- | --- |
| `from` | string | Required. Up to 100 characters. |
| `to` | string | Required. Up to 100 characters. |
| `reps` | integer | What from asks over three working sets before to: this many reps, leaving out means 12. From 1 to 1,000. |
| `seconds` | integer | Or held this long; leaving out means 30. From 1 to 86,400. |

## What your assistant is told

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

> Save a skill tree of the person's own when they ask for a progression of their own, such as for the rings, or with id replace one. Find every exercise with list_exercises first. Pass every step and every link; a link joins two steps of the tree and never leads back round. Splot's own trees cannot be changed. Confirm only after success.
