Fetch webhook message
discord_
Read-only
- Toolset
- Webhooks
webhooks - Context cost
- 247 tokens, estimated989 bytes of definition, divided by 4
Fetch a single message sent through a webhook (id, content, embed count, timestamp), using the webhook's ID and token. Read-only. Requires the original webhook token.
Risk and annotations
Read-onlyreadOnlyHint | yes | Does not modify your server. |
|---|---|---|
DestructivedestructiveHint | n/a | Not declared: it only applies to tools that write. |
IdempotentidempotentHint | n/a | Not declared. |
Open worldopenWorldHint | yes | Interacts with an external system: Discord. |
Annotations are hints the server declares. Clients use them to decide when to ask you before a call.
Parameters
| Parameter | Type | Rules | Description |
|---|---|---|---|
| webhook_ | string | pattern ^\d{17,20}$ | ID (snowflake) of the webhook that sent the message. |
| webhook_ | string | none | Secret token of the webhook. |
| message_ | string | pattern ^\d{17,20}$ | ID of the webhook message to fetch. |
Output
Declared by outputSchema: clients receive this shape as structuredContent.
| Field | Type |
|---|---|
| idrequired | string |
| contentrequired | string |
| embedsrequired | number |
| timestamprequired | string |
Related tools
Also in Webhooks
-
Create webhook, Write
discord_create_ webhook -
Send webhook message, Write
discord_send_ webhook_ message -
Edit webhook, Write
discord_edit_ webhook -
Delete webhook, Destructive
discord_delete_ webhook -
List webhooks, Read-only
discord_list_ webhooks -
Edit webhook message, Write
discord_edit_ webhook_ message -
Delete webhook message, Destructive
discord_delete_ webhook_ message
Raw definition (989 bytes)
{
"name": "discord_fetch_webhook_message",
"description": "Fetch a single message sent through a webhook (id, content, embed count, timestamp), using the webhook's ID and token. Read-only. Requires the original webhook token.",
"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 fetch."
}
},
"required": [
"webhook_id",
"webhook_token",
"message_id"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"content": {
"type": "string"
},
"embeds": {
"type": "number"
},
"timestamp": {
"type": "string"
}
},
"required": [
"id",
"content",
"embeds",
"timestamp"
],
"additionalProperties": false
},
"annotations": {
"title": "Fetch webhook message",
"readOnlyHint": true,
"openWorldHint": true
}
}