unpin_message
Remove the pin from a message in a thread while keeping the message intact; returns whether a pin was removed and emits an event only when one existed.
Instructions
Remove a message's pin in a thread. Returns {removed: true} and appends a MessageUnpinned event only when the message was pinned; otherwise {removed: false} and no event. The message itself stays in the thread, and a pin set by another member can be removed too. See the pins with list_pins and pin with pin_message. Requires workspace:write.
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": {
"thread_id": "<thread_id>",
"message_id": "<message_id>"
},
"name": "unpin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | UUID of the thread the message is pinned in. You must be able to read it. | |
| message_id | Yes | UUID of the pinned message to unpin. |