Delete Padlet Items
delete_padlet_itemsDeletes posts, sections, comments and custom fields from a padlet, any mix of them in one call. It is the only tool that deletes them.
Returns { success: true } and the ids it deleted: deleted_post_ids, deleted_section_ids, deleted_comment_ids and deleted_custom_field_ids.
undosays which of them can be restored.Deleted posts and sections can be restored for 24 hours with restore_posts_and_sections, passing deleted_post_ids as its post_ids and deleted_section_ids as its section_ids. Where it is an action, run it with run_padlet_write_action. Deleted comments and custom fields cannot be restored, so tell the user before deleting them.
A deleted section takes its posts with it, and they are in deleted_post_ids. Its scheduled posts go back to drafts. The last section on a padlet cannot be deleted.
Take the ids from get_padlet: post_id and section_id from the posts, comment_id from the comments, and field_id from padlet_settings.custom_fields.
You can delete only posts and comments you wrote, unless you are a moderator or admin of the padlet. Deleting a section or a custom field needs admin permission. Nothing can be deleted while the padlet is frozen.
When some items could not be deleted, the result also has
not_applied, a list of { post_id, section_id, comment_id or custom_field_id, reason }. If one post is missing or you cannot delete it, no post in the call is deleted, and likewise for sections. Tell the user which items were not deleted and why, and never say a listed item was deleted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wall_url": "<wall_url>"
},
"name": "delete_padlet_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_ids | No | Posts to delete. | |
| 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. | |
| telemetry | No | Optional. Padlet records this to improve its tools; it does not change what the tool does. | |
| comment_ids | No | Comments to delete. They cannot be restored. | |
| section_ids | No | Sections to delete, with their posts. | |
| custom_field_ids | No | Custom fields to delete, by field_id. They cannot be restored, and every post loses its value for them. |