AgentPMT
Post On Discord Channel

Post On Discord Channel

Connector
Premium Product

Available ActionsEach successful request consumes credits as outlined below.

send3cr

Details

The Discord Webhook Tool enables AI agents to send rich, formatted messages directly to Discord channels through webhook URLs. It supports text messages with full Discord markdown formatting, custom username and avatar overrides, and rich embeds with titles, descriptions, fields, colors, images, and timestamps. The tool can upload up to 10 files per message with base64 encoding and reference them within embeds using the attachment:// syntax for seamless image display. Advanced features include mention controls to manage user/role pings, text-to-speech capabilities, and support for multiple embeds (up to 10) in a single message for complex notifications. Perfect for automation workflows, monitoring systems, chatbot integrations, and notification pipelines requiring formatted Discord output.

Use Cases

Update community when new products features drop, notify channel followers of upcoming events, notify users of support ticket requests, integrate with content publishing pipeline

Actions(1)

send3cr8 params(1 required)

Send a message to a Discord channel via webhook. Supports text content with Discord markdown, rich embeds, file attachments, custom bot identity, text-to-speech, and mention controls. At least one of content, embeds, or files must be provided.

Send a message to a Discord channel via webhook. Supports text content with Discord markdown, rich embeds, file attachments, custom bot identity, text-to-speech, and mention controls. At least one of content, embeds, or files must be provided.

webhook_urlrequiredstring

Discord webhook URL. Must match the pattern: https://discord.com/api/webhooks/{webhook_id}/{webhook_token} or https://discordapp.com/api/webhooks/{webhook_id}/{webhook_token}.

contentstring

Message content text (max 2000 characters). Supports Discord markdown formatting. At least one of content, embeds, or files must be provided.

Length: 0 - 2000
usernamestring

Override the default webhook username (displayed as the message author name). Max 80 characters.

Length: 0 - 80
avatar_urlstring

Override the default webhook avatar with a custom image URL.

ttsboolean

Enable text-to-speech for the message. Default: false.

Default: false
embedsarray

Array of rich embed objects (maximum 10 embeds per message). At least one of content, embeds, or files must be provided.

Array of: object
filesarray

Array of file attachments (maximum 10 files per message). Files must be base64-encoded. At least one of content, embeds, or files must be provided.

Array of: object
allowed_mentionsobject

Controls which mentions are allowed to ping users/roles in the message.

Properties:
parse(array)- Array of allowed mention types: 'roles', 'users', 'everyone'.
roles(array)- Array of specific role IDs that are allowed to be mentioned.
users(array)- Array of specific user IDs that are allowed to be mentioned.

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How does an external agent use this tool?

Agent prompt

Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 6931b98dc4428a7533a58379 ("Post On Discord Channel"). Then call the same tool with action 'call_tool', tool_id 6931b98dc4428a7533a58379, and the parameters needed for my request.

Workflows Using This Tool

2 / 3

Looking for help integrating AI into your business? Set up a free consultation.