Slack et Teams · post_slack_message
Publier sur Slack
Publie un message dans un canal Slack de l'entreprise.
- Prix
- inclus
- Prérequis
- Slack ou Slack (bot)
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
Entrée
| Champ | Type | Description |
|---|---|---|
| messages | array | Batch post: the FULL list of Slack 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 text to post (Slack markdown supported) |
| channel | string | Target channel (e.g. #support). Defaults to the configured channel. |
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_slack_message","input":{"messages":[],"message":"…","channel":"…"}}'$
run({ "tool": "post_slack_message", "input": {"messages":[],"message":"…","channel":"…"} })