unpin_message
Remove a pinned Discord message from a channel by providing channel and message IDs, with an optional audit log reason.
Instructions
Unpin a message from a channel
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": "unpin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason | |
| channelId | Yes | Discord channel ID | |
| messageId | Yes | Message ID to unpin |