messages_pin
Pin a message in a Discord channel to highlight announcements or FAQs. Provide channel and message IDs to keep key information visible for community members.
Instructions
Purpose: Pin a message in a channel.
When to use: - Highlight a community announcement / FAQ in the channel.
Returns: {pinned, channel_id, message_id}.
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_id": "<channel_id>",
"message_id": "<message_id>"
},
"name": "messages_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel containing the message | |
| message_id | Yes | Message to pin | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||