send_chat_message
Send messages to specific chat conversations in Microsoft Teams, supporting text or markdown formatting, @mentions, and customizable importance levels for effective communication.
Instructions
Send a message to a specific chat conversation. Supports text and markdown formatting, mentions, and importance levels.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chatId | Yes | Chat ID | |
format | No | Message format (text or markdown) | |
importance | No | Message importance | |
mentions | No | Array of @mentions to include in the message | |
message | Yes | Message content |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chatId": {
"description": "Chat ID",
"type": "string"
},
"format": {
"description": "Message format (text or markdown)",
"enum": [
"text",
"markdown"
],
"type": "string"
},
"importance": {
"description": "Message importance",
"enum": [
"normal",
"high",
"urgent"
],
"type": "string"
},
"mentions": {
"description": "Array of @mentions to include in the message",
"items": {
"additionalProperties": false,
"properties": {
"mention": {
"description": "The @mention text (e.g., 'john.doe' or 'john.doe@company.com')",
"type": "string"
},
"userId": {
"description": "Azure AD User ID of the mentioned user",
"type": "string"
}
},
"required": [
"mention",
"userId"
],
"type": "object"
},
"type": "array"
},
"message": {
"description": "Message content",
"type": "string"
}
},
"required": [
"chatId",
"message"
],
"type": "object"
}