Home / Servers / Discord API / create_interaction_response

POST /interactions/{interaction_id}/{interaction_token}/callback

An MCP tool from the Discord API server, hosted on mcp.hjlabs.in.

POST /interactions/{interaction_id}/{interaction_token}/callback [POST /interactions/{interaction_id}/{interaction_token}/callback]

Name on the gateway: discord_api__create_interaction_response · may change things.

Parameters

NameTypeDescription
interaction_id requiredstringinteraction_id parameter
interaction_token requiredstringinteraction_token parameter
with_responsebooleanwith_response parameter
type required8
data requiredobject

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:

call_tool arguments
{
  "name": "discord_api__create_interaction_response",
  "arguments": {
    "interaction_id": "…",
    "interaction_token": "…",
    "type": "…",
    "data": "…"
  }
}

Or connect the Discord API server directly, which lists 250 tools including this one:

Run in your terminal
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 /interactions/{interaction_id}/{interaction_token}/callback tool with interaction_id set to ….

More from Discord API