teams_pin_post
Pin or unpin a Microsoft Teams channel or community post using channel and post IDs, with optional team and account selection; pin permission is required.
Instructions
Pin or unpin a post in a channel or community; needs permission to pin (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>",
"post_id": "<post_id>"
},
"name": "teams_pin_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinned | No | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| post_id | Yes | ||
| team_id | No | Team or community thread id (19:…); found from your teams when omitted | |
| channel_id | Yes |