> For the complete documentation index, see [llms.txt](https://docs.toolregistry.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toolregistry.ai/concepts/repeat-key.md).

# Repeat key

When creating a new run, you can pass a custom value that can then later be used to repeat the actions in a future run. This is especially useful when using it programmatically where consistency and expected behavior is important.

When a **repeatKey** is passed and the **intent, input/output schema** is exactly the same as the already existing action for that userId, then it will be a repeat run. A repeat run means that it will use the code used previously in a run to execute in a more consistent and reliable way.

### Using it

Set `repeatKey` field when creating a new run to a meaningful value to yo&#x75;**.** \
Recommendation: something that reflects the intent, e.g. `get_next_calendar_events`&#x20;

Other fields like `intent` , `context` , `selected integrations`  must still be set.
