post_teams_channel_message
Post a message to a Microsoft Teams channel as the authorized user. No draft mode (Teams channel posts are inherently immediate); requires confirm=true. The post appears under the connected user's identity, not the agent's.
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": {
"teamId": "<teamId>",
"channelId": "<channelId>",
"body": "<body>",
"confirm": "<confirm>"
},
"name": "post_teams_channel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| teamId | Yes | The team's Microsoft 365 group id, a GUID (groupId= in the Teams channel link). A team name is refused. | |
| confirm | Yes | Must be true to send. There is no draft for Teams. | |
| subject | No | ||
| channelId | Yes | The channel id, 19:...@thread.tacv2 (after /channel/ in the Teams channel link, URL-encoded is accepted). A channel name is refused. | |
| bodyContentType | No |