Pin message
pin_messagePin a Discord message to a channel using its ID or link so important information stays visible; requires Pin Messages permission.
Instructions
Pin a message in a channel. Needs the Pin Messages permission (split from Manage Messages in 2026). Channels hold at most 50 pins.
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>",
"message_id": "<message_id>"
},
"name": "pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| channel | Yes | Channel name or ID. | |
| message_id | Yes | Message ID, or the message's link. |