interactions_edit_original_response
Edit an original Discord interaction response to complete deferred replies or update message content, embeds, components, and attachments after acknowledgement.
Instructions
Purpose: Edit the original interaction response (e.g. fill in a deferred reply).
Auth: token-secured (NO bot token).
Body mirrors a webhook execute body: content, embeds, components, attachments, allowed_mentions, payload_json, flags, poll. null clears.
Returns: {message_id, channel_id} after the edit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"application_id": "<application_id>",
"interaction_token": "<interaction_token>"
},
"name": "interactions_edit_original_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll | No | ||
| flags | No | Message flags bitfield. V2 layout = 1<<15 = 32768. | |
| embeds | No | ||
| content | No | ||
| components | No | ||
| attachments | No | ||
| payload_json | No | ||
| application_id | Yes | Bot/app application ID | |
| allowed_mentions | No | ||
| interaction_token | Yes | Scoped interaction credential, reusable for follow-ups for up to 15 minutes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||