Slack & Teams · post_teams_message
Post to Teams
Post a message in a Microsoft Teams channel.
- Price
- included
- Requirements
- Microsoft Teams or Microsoft Teams (bot)
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
Input
| Field | Type | Description |
|---|---|---|
| messages | array | Batch post: the FULL list of Teams messages to post in one call (preferred whenever there is more than one). Each item takes the same fields as a single message. When provided, the top-level single-message fields are ignored. |
| message * | string | The message body to post in the Teams channel. |
| title | string | Optional title displayed above the message (bold header). |
| color | string | Optional accent color as a 6-digit hex code (e.g. "4F46E5" for indigo, "EF4444" for red alerts). |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"post_teams_message","input":{"messages":[],"message":"…","title":"…","color":"…"}}'$
run({ "tool": "post_teams_message", "input": {"messages":[],"message":"…","title":"…","color":"…"} })