Home / Servers / Discord API / execute_webhook
POST /webhooks/{webhook_id}/{webhook_token}
An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.
POST /webhooks/{webhook_id}/{webhook_token} [POST /webhooks/{webhook_id}/{webhook_token}]
Name on the gateway: discord_api__execute_webhook · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
webhook_id required | string | webhook_id parameter |
webhook_token required | string | webhook_token parameter |
wait | boolean | wait parameter |
thread_id | string | thread_id parameter |
with_components | boolean | with_components parameter |
content | string | |
embeds | array | |
allowed_mentions | object | |
components | array | |
attachments | array | |
poll | object | |
tts | boolean | |
flags | integer | |
username | string | |
avatar_url | string | |
thread_name | string | |
applied_tags | array |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "discord_api__execute_webhook",
"arguments": {
"webhook_id": "…",
"webhook_token": "…"
}
}Or connect the Discord API server directly, which lists 250 tools including this one:
claude mcp add --transport http hj-discord-api https://mcp.hjlabs.in/mcp/discord-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the post /webhooks/{webhook_id}/{webhook_token} tool with webhook_id set to ….
More from Discord API
- GET /applications/@me
- PATCH /applications/@me
- GET /applications/{application_id}
- PATCH /applications/{application_id}
- GET /applications/{application_id}/activity-instances/{instance_id}
- POST /applications/{application_id}/attachment
- GET /applications/{application_id}/commands
- PUT /applications/{application_id}/commands
- All 250