discord_edit_webhook_message
Edit a message sent by a Discord webhook using its ID and token, replacing content or embeds without bot permissions. Returns a confirmation.
Instructions
Edit a message previously sent through a webhook, using the webhook's ID and token. Replaces the provided fields. No bot permission is needed: the token authorizes the edit. For a message the bot sent itself, use discord_edit_message or discord_edit_embed. Returns a confirmation.
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": {
"webhook_id": "<webhook_id>",
"webhook_token": "<webhook_token>",
"message_id": "<message_id>"
},
"name": "discord_edit_webhook_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embeds | No | Up to 10 embed objects to attach to the webhook message. | |
| content | No | New plain-text content for the message (max 2000 characters). | |
| message_id | Yes | ID of the webhook message to edit. | |
| webhook_id | Yes | ID (snowflake) of the webhook that sent the message. | |
| webhook_token | Yes | Secret token of the webhook. |