interactions_edit_original_response
interactions_edit_original_response
Section titled “interactions_edit_original_response”Category: interactions
Edit the original interaction response (e.g. fill in a deferred reply).
When to use
Section titled “When to use”When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
application_id | string | yes | Bot/app application ID |
interaction_token | string | yes | Interaction token (one-time, 15min TTL) |
content | unknown | no | |
embeds | unknown | no | |
components | unknown | no | |
attachments | array | no | |
allowed_mentions | unknown | no | |
payload_json | string | no | |
flags | integer | no | Message flags bitfield. V2 layout = 1<<15 = 32768. |
poll | object | no |
Returns
Section titled “Returns”\{message_id, channel_id\} after the edit.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
message_id | string | yes | Discord message ID |
channel_id | string | yes | Discord channel ID (snowflake) |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/interactions/edit_original_response.ts