discord_delete_pin
Unpin a pinned message from a Discord channel or thread using its channel and message IDs. Returns a confirmation with the unpinned message and channel IDs.
Instructions
Unpin a pinned message from a channel or thread. To add a pin use discord_create_pin, and to list all current pinned messages use discord_list_pins. Returns a confirmation object with the unpinned message and channel IDs. Bot permissions it may need: View Channel, Pin Messages. Changes or removes existing Discord data without an approval prompt.
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": "discord_delete_pin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason sent in the X-Audit-Log-Reason header (up to 512 characters) | |
| channel_id | Yes | ID of the channel or thread that holds the message | |
| message_id | Yes | ID of the message |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unpinned | Yes | ||
| channel_id | Yes | Discord snowflake ID as a numeric string | |
| message_id | Yes | Discord snowflake ID as a numeric string |