Reorder the blocks of an agenda
reorder_blocksPuts the agenda's blocks into the order given.
block_ids must contain every current block id exactly once — none missing, none extra, none repeated. This only reorders: it cannot add, remove or edit a block. get_agenda returns the current ids.
Returns the full updated agenda.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_ids | Yes | Every current block id, exactly once, in the order you want them to run. | |
| edit_token | No | The latest edit_token (from create_agenda, or rotate_edit_token after a rotation). Authorizes on its own; needed unless the agenda is saved to a linked account. | |
| share_token | No | Agenda id (from create_agenda or list_agendas). Required with a linked account, optional beside edit_token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| blocks | Yes | The blocks in the order they run. | |
| share_url | Yes | The read-only agenda with the live timer; safe to give to attendees. | |
| expires_at | Yes | ISO 8601. null when the agenda is saved to an account and does not expire. | |
| share_token | Yes | The agenda's public identifier; what every tool takes as share_token. | |
| total_seconds | Yes | Sum of every block's duration_seconds. |