Repeat key
How to ensure more consistent results and behavior during a run?
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.
When a repeatKey is passed and the intent is exactly the same as the last successful run with that key, then it will be a repeat run. A repeat run means that the new run is guaranteed to only use the tools that were successfully used in the last run with that repeatKey value.
Using it
Set repeatKey field when creating a new run to a meaningful value to you.
Recommendation: something that reflects the intent, e.g. get_next_calendar_events
Other fields like intent , context , selected integrations must still be set.
Last updated