Tous les outils

Slack et Teams · post_teams_message

Publier sur Teams

Publie un message dans un canal Microsoft Teams.

Prix
inclus
Prérequis
Microsoft Teams ou Microsoft Teams (bot)
à brancher dans Paramètres → Intégrations
Validation humaine
Oui, par défaut
écriture vers l'extérieur : un humain valide

Entrée

ChampTypeDescription
messagesarrayBatch 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 *stringThe message body to post in the Teams channel.
titlestringOptional title displayed above the message (bold header).
colorstringOptional accent color as a 6-digit hex code (e.g. "4F46E5" for indigo, "EF4444" for red alerts).

Appeler cet outil

Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.

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":"…"} })