Add a block to an agenda
add_blockAdds one block to an existing agenda: at the end, above a final wrap-up, or directly after after_block_id.
Adds only — it does not reorder or change any existing block. Returns the full updated agenda, so no get_agenda call is needed afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short, active, scannable on a countdown screen. | |
| block_type | Yes | Internal classification for aggregate analysis, inferred from the content; shown on no BriefMe page. | |
| edit_token | Yes | The edit_token returned by create_agenda. | |
| description | No | Optional one-line note, only when the title is ambiguous. | |
| after_block_id | No | Insert directly after this block id. Omit to add at the end. | |
| duration_seconds | Yes | How long this block runs, in seconds. |
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. | |
| total_seconds | Yes | Sum of every block's duration_seconds. |