teams_get_pinned_posts
Retrieve pinned posts from a Microsoft Teams channel or community to surface rules, links, and announcements without scrolling through message history.
Instructions
Pinned posts of a channel or community: rules, links, announcements (both account kinds).
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": {
"channel_id": "<channel_id>"
},
"name": "teams_get_pinned_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| team_id | No | Team or community thread id (19:…); found from your teams when omitted | |
| channel_id | Yes |