discord-mcp

Delete webhook message

discord_delete_webhook_message

Destructive

Toolset
Webhooks webhooks
Context cost
217 tokens, estimated866 bytes of definition, divided by 4

Permanently delete a message that was sent through a webhook, using the webhook's ID and token. IRREVERSIBLE. No bot permission is needed: the token authorizes the call. To delete the webhook itself, use discord_delete_webhook.

Risk and annotations

Read-onlyreadOnlyHintnoCan modify your server.
DestructivedestructiveHintyesMay perform destructive updates, so clients can ask before running it.
IdempotentidempotentHintnoRepeating the call can have an additional effect.
Open worldopenWorldHintyesInteracts with an external system: Discord.

Annotations are hints the server declares. Clients use them to decide when to ask you before a call.

Parameters

ParameterTypeRulesDescription
webhook_idrequiredstring
pattern ^\d{17,20}$
ID (snowflake) of the webhook that sent the message.
webhook_tokenrequiredstring
none
Secret token of the webhook.
message_idrequiredstring
pattern ^\d{17,20}$
ID of the webhook message to delete.

Output

This tool declares no output schema. Its description says what it returns; this page shows no example rather than invent one.

Related tools

Named in its description

Also in Webhooks

Raw definition (866 bytes)
{
  "name": "discord_delete_webhook_message",
  "description": "Permanently delete a message that was sent through a webhook, using the webhook's ID and token. IRREVERSIBLE. No bot permission is needed: the token authorizes the call. To delete the webhook itself, use discord_delete_webhook.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "webhook_id": {
        "type": "string",
        "pattern": "^\\d{17,20}$",
        "description": "ID (snowflake) of the webhook that sent the message."
      },
      "webhook_token": {
        "type": "string",
        "description": "Secret token of the webhook."
      },
      "message_id": {
        "type": "string",
        "pattern": "^\\d{17,20}$",
        "description": "ID of the webhook message to delete."
      }
    },
    "required": [
      "webhook_id",
      "webhook_token",
      "message_id"
    ],
    "additionalProperties": false
  },
  "annotations": {
    "title": "Delete webhook message",
    "readOnlyHint": false,
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true
  }
}