Regenerate the edit link
rotate_edit_tokenReplaces an agenda's edit token and edit link with new ones. The previous edit_token and edit_url stop working the moment this returns, for every assistant, browser and bookmark that held them — the remedy when an edit link was shared by mistake.
Returns the full agenda with the new edit_url and edit_token. The previous ones cannot be restored. Agendas expire after 7 days and cannot be recovered afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit_token | Yes | The current edit_token — the one being replaced. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| blocks | Yes | The blocks in the order they run. | |
| edit_url | Yes | The user's new private control page; the previous link is dead. | |
| share_url | Yes | The read-only agenda with the live timer; safe to give to attendees. | |
| edit_token | Yes | What every later tool call takes from now on; the previous token is dead. | |
| expires_at | Yes | ISO 8601. null when the agenda is saved to an account and does not expire. | |
| instructions | Yes | Read this first: how to reply to the user. | |
| total_seconds | Yes | Sum of every block's duration_seconds. |