reply_to_channel_message
Respond to a specific message in a Microsoft Teams channel with formatted text, mentions, importance levels, and optional image attachments. Enables targeted and structured replies for effective communication.
Instructions
Reply to a specific message in a channel. Supports text and markdown formatting, mentions, and importance levels.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channelId | Yes | Channel ID | |
format | No | Message format (text or markdown) | |
imageContentType | No | MIME type of the image (e.g., 'image/jpeg', 'image/png') | |
imageData | No | Base64 encoded image data to attach | |
imageFileName | No | Name for the attached image file | |
imageUrl | No | URL of an image to attach to the reply | |
importance | No | Message importance | |
mentions | No | Array of @mentions to include in the reply | |
message | Yes | Reply content | |
messageId | Yes | Message ID to reply to | |
teamId | Yes | Team ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"channelId": {
"description": "Channel ID",
"type": "string"
},
"format": {
"description": "Message format (text or markdown)",
"enum": [
"text",
"markdown"
],
"type": "string"
},
"imageContentType": {
"description": "MIME type of the image (e.g., 'image/jpeg', 'image/png')",
"type": "string"
},
"imageData": {
"description": "Base64 encoded image data to attach",
"type": "string"
},
"imageFileName": {
"description": "Name for the attached image file",
"type": "string"
},
"imageUrl": {
"description": "URL of an image to attach to the reply",
"type": "string"
},
"importance": {
"description": "Message importance",
"enum": [
"normal",
"high",
"urgent"
],
"type": "string"
},
"mentions": {
"description": "Array of @mentions to include in the reply",
"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": "Reply content",
"type": "string"
},
"messageId": {
"description": "Message ID to reply to",
"type": "string"
},
"teamId": {
"description": "Team ID",
"type": "string"
}
},
"required": [
"teamId",
"channelId",
"messageId",
"message"
],
"type": "object"
}