Send a chat message
teams_send_chat_messageSend a text or HTML message to a Microsoft Teams chat using the chat ID and message content.
Instructions
Send a message to a 1:1 or group chat. This POSTS a message as the signed-in user.
Args:
chat_id (string): the chat ID (from teams_list_chats)
content (string): the message body (max 28000 chars)
content_type ('text' | 'html'): body format (default text)
Returns: JSON { id, webUrl } of the created message.
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": {
"chat_id": "<chat_id>",
"content": "<content>"
},
"name": "teams_send_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | The chat (1:1 or group) ID (e.g. '19:...@thread.v2'). Get it from teams_list_chats. | |
| content | Yes | Message text. Plain text by default; set content_type='html' to send HTML. | |
| content_type | No | Body content type: 'text' (plain) or 'html' | text |