send_channel_message
Send a message to a Microsoft Teams channel using team and channel IDs, with optional @mentions for users or tags.
Instructions
Send a message to a Teams channel.
Use list_teams -> list_channels to get team_id and channel_id. For replies to existing messages, use reply_to_channel_message instead.
content is plain text: newlines are kept and URLs become links; Markdown and HTML show literally. Each mention's "@" must appear in content exactly as given in name, or that mention is dropped without an error.
mentions: optional JSON array of users or team tags to @mention. Format: [{"user_id": "...", "name": "Display Name"} | {"tag_id": "...", "name": "TagName"}] Get tag_id from list_team_tags (tags work only in channel messages). Use @DisplayName in content where the mention should appear. Get user_id from list_team_members, list_channel_members, or get_user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| team_id | Yes | ||
| mentions | No | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |