teams_pin_message
Pin or unpin a Teams chat message at the top; personal chats keep one pinned message (new pins replace it), while work chats allow up to 10.
Instructions
Pin or unpin a message at the top of a chat. Personal (Teams free) chats keep one pinned message, so a new pin replaces it; work chats keep up to 10.
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": {
"conversation_id": "<conversation_id>",
"message_id": "<message_id>"
},
"name": "teams_pin_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | No | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| message_id | Yes | ||
| conversation_id | Yes |