webhooks_delete_message
webhooks_delete_message
Section titled “webhooks_delete_message”Category: webhooks
Delete a message previously sent by this webhook. DESTRUCTIVE — IRREVERSIBLE.
When to use
Section titled “When to use”- Retract a stale alert or accidentally posted content.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook id |
token | string | yes | Webhook secret — treat as credential, do not log |
message_id | string | yes | Message to delete |
thread_id | string | no | Query param: thread the message lives in |
Returns
Section titled “Returns”\{deleted, message_id\}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
deleted | boolean | yes | |
message_id | string | yes | Discord message ID |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | yes |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | yes (__confirm:true required) |