Update Section
update_sectionManage sections on a padlet: create, update, delete, or reorder sections.
Purpose: Create new sections, update existing section titles, delete sections, or reorder sections.
What this tool returns: { success: true } on successful update. When new sections are created, also returns { created_section_ids: { "new_1": "123", "new_2": "456" } } mapping each temporary "new_" id to the real section id. When sections are deleted, also returns { deleted_section_ids: [...], deleted_post_ids: [...] } with the ids of the deleted sections and their posts. Otherwise a hash with success set to false and an optional message, e.g. { success: false, message: "..." }.
IMPORTANT: When creating sections and then creating posts, use the real section ids from
created_section_ids(not the "new_" prefixed ids) as the section_id in the create_posts tool.IMPORTANT: Save these deleted_section_ids and deleted_post_ids so you can pass them to the restore_posts_and_sections tool if the user asks to undo the deletion.
Guidance for use:
Requires admin permission on the padlet.
CREATING new sections: Use a string id with "new_" prefix (e.g. "new_1", "new_abc").
UPDATING existing sections: Use the existing section id exactly as provided in the padlet data.
DELETING sections: Set should_delete to true. All posts in the section will be soft-deleted.
IMPORTANT: The last section on a padlet cannot be deleted. A padlet must always have at least one section.
REORDERING sections: Provide section_order with all section ids in the desired order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | No | Create, update, or delete sections. Each section has an id and title. | |
| wall_url | Yes | The padlet's link (e.g. https://padlet.com/foo/bar-a1b2c3): the link you were given, the `wall_url` a previous call returned, or a link the user pasted. Not a breakout-room or submission link, and not a padlet id: no tool takes a wall_id. | |
| section_order | No | Set the order of sections. Include all section ids in the desired order. |