pin_message
Pin a message within a thread to add it to the thread's pin list, record the pinner, reject messages outside that thread, and keep a single pin per message.
Instructions
Pin a message in a thread so it is listed by list_pins, recording the caller as the pinner. The message must belong to that thread, otherwise the call is refused. Pinning an already pinned message keeps a single pin. It emits a message_pinned event and returns {ok: true}. Reverse it with unpin_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": "pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | UUID of the thread the message belongs to. | |
| message_id | Yes | UUID of the message to pin. It must be a message in thread_id. |