Remove a block
remove_blockRemoves one block from an agenda. The remaining blocks keep their ids and their order.
An agenda must keep at least one block, so this fails on the last one. Removing a block shortens the meeting — it does not redistribute that time to the other blocks.
Returns the full updated agenda.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | Yes | The id of the block to remove. | |
| 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. |