Get pinned messages
get_pinned_messagesRetrieve all pinned messages from a Discord channel, ordered newest first. Access saved information quickly.
Instructions
Fetch all pinned messages in a channel, newest first.
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": {
"channel": "<channel>"
},
"name": "get_pinned_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. | |
| channel | Yes | Channel to read pins from (name or id). |