Restore Posts and Sections
restore_posts_and_sectionsRestore soft-deleted posts and/or sections on a padlet.
Purpose: Restore posts or sections that were previously deleted (e.g. by the user or by a prior tool call). Deletions are soft-deleted, so they can be restored.
What this tool returns: { success: true } on successful restore; otherwise a hash with success set to false and an optional message, e.g. { success: false, message: "..." }.
Guidance for use:
Restoring sections requires admin permission on the padlet. Restoring posts requires edit permission on each post.
Provide post_ids to restore specific posts, section_ids to restore specific sections, or both. At least one non-empty list is required.
When restoring a section AND its posts, provide BOTH the section_ids AND the post_ids. Posts are NOT automatically restored when a section is restored. Use the deleted_post_ids returned by the update_section or update_posts tool to know which post_ids to include.
When restoring only posts (not a section), provide post_ids.
Only soft-deleted items can be restored. If an id is not found or was not soft-deleted, it is skipped; others are still restored.
Deleted posts and sections are permanently removed after 24 hours; restore must be requested within that window.
Always use the exact deleted_post_ids and deleted_section_ids returned by update_section or update_posts tool call. Never guess or fabricate IDs.
Use get_padlet_content to see current state; soft-deleted items are not returned there. The user may ask to "undo" a deletion or "restore" something they or the assistant just deleted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_ids | No | Ids of soft-deleted posts to restore. Omit or leave empty to restore no posts. | |
| 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_ids | No | Ids of soft-deleted sections to restore. Omit or leave empty to restore no sections. Posts in those sections are NOT restored automatically; you must also pass their post_ids. |