Read exact Discord message attachment
read_message_attachmentReads a specific attachment from an exact Discord message in a permitted guild channel or thread, returning native image/audio content with a resource-link fallback.
Instructions
Read one exact attachment from one exact message in a permitted guild channel or thread as a native MCP image or audio block, with an embedded octet-stream fallback and an equivalent private resource link. The connector refetches current Discord evidence, validates the signed CDN route, refuses redirects and credentials, enforces the configured MCP response budget while streaming, verifies supported media signatures, persists nothing, omits delivery URLs and raw payloads from metadata, and wipes transient bytes after encoding.
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": {
"attachmentId": "<attachmentId>",
"channelId": "<channelId>",
"messageId": "<messageId>"
},
"name": "read_message_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | Exact permitted guild channel or thread ID | |
| messageId | Yes | Exact Discord message ID containing the attachment | |
| attachmentId | Yes | Exact attachment ID from the current exact Discord message |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |