Soroush Plus (own account): pin/unpin
soroushplus_web_pin_messagePin or unpin a Soroush Plus chat message after explicit user approval. Requires confirm: true, an allowed chat ID, and enabled sending to apply the change.
Instructions
Pin a message, or unpin it with unpin: true. Needs confirm: true after the user approves, the chat in SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.
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": {
"chatId": "<chatId>",
"messageId": "<messageId>",
"confirm": "<confirm>"
},
"name": "soroushplus_web_pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unpin | No | ||
| chatId | Yes | "me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative) | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| messageId | Yes | messageId from read_chat. |