send_message
Posts a new Markdown message to a Microsoft Teams chat or channel as a root post, notifying conversation members; use it for new messages rather than replies.
Instructions
Post a new Markdown message to a chat or a new root post to a team channel (use reply_message to reply inside a channel thread or quote-reply an existing chat message). Irreversible external side effect notifying conversation members. Requires ChatMessage.Send or ChannelMessage.Send. Returns compact acknowledgement { ok, conversation, message } by default.
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": {
"target": "<target>",
"markdown": "<markdown>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Conversation conv_key (chat:... or chan:team:channel), "Team/Channel", or unique conversation title substring. | |
| compact | No | Return a compact receipt (default true); set false for full conversation and message objects. | |
| subject | No | Optional plain-text subject line (applies to team channel root posts). | |
| markdown | Yes | Non-empty Markdown message body to compile to Teams HTML and send. | |
| mentions | No | Users to @-mention, as "user_id:DisplayName" strings or {user_id, display_name} objects. Each mentioned user's @DisplayName must appear in markdown or the call fails before sending. | |
| important | No | When true, marks the sent message with high importance. |