get_message_attachments
Retrieve and inspect file attachments on a Discord message by channel and message ID, including names, sizes, content types, and URLs.
Instructions
Inspect file attachments on a specific message (file names, sizes, content types, URLs)
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": {
"channelId": "<channelId>",
"messageId": "<messageId>"
},
"name": "get_message_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | Discord channel ID | |
| messageId | Yes | Discord message ID | |
| attachmentId | No | Specific attachment ID (omitted returns all) |