pin_message
Pin a message to the top of a conversation for all participants, with optional expiry or until unpinned. Requires moderator rights to highlight important announcements.
Instructions
Pin a message to the top of the conversation for everyone. Needs moderator rights.
Pinned messages are listed by list_shared_items with item_type "pinned".
Args: token: The conversation token. message_id: The message to pin. until: When the pin should expire, as an ISO 8601 time with time zone (default: until someone unpins it). Talk removes expired pins on its next background job run.
Returns: JSON with the pinned message, or a note that it was already pinned.
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": {
"token": "<token>",
"message_id": "<message_id>"
},
"name": "pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| until | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |