graph_teams_message
Send messages to a Microsoft Teams channel using team and channel IDs, with support for HTML, plain text, or Markdown content via Microsoft Graph.
Instructions
Post a message to a Teams channel via Microsoft Graph.
Args:
team_id: The target Microsoft Teams team identifier.
channel_id: The channel identifier within the team.
text: The message body to send.
content_type: Graph contentType, defaults to "html". Can be "html", "text", "markdown".
ctx: FastMCP context.
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": {
"team_id": "<team_id>",
"channel_id": "<channel_id>",
"text": "<text>"
},
"name": "graph_teams_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| team_id | Yes | ||
| channel_id | Yes | ||
| content_type | No | html |