events_create
Create a new scheduled event for a guild.
When to use
Section titled “When to use”- Schedule a stage, voice, or external event in a guild.
Entity types
Section titled “Entity types”1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL. STAGE/VOICE require channel_id. EXTERNAL requires entity_metadata.location and scheduled_end_time.
MCP call example
Section titled “MCP call example”{ "name": "events_create", "arguments": { "guild_id": "123456789012345678", "name": "Example name", "scheduled_start_time": "2030-01-01T10:00:00.000Z", "entity_type": 2, "channel_id": "123456789012345678" }}| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
guild_id |
string | yes | pattern: ^\d{17,20}$ |
Guild to create the event in |
name |
string | yes | min length: 1; max length: 100 |
Event name (1-100 chars) |
privacy_level |
2 | no | default: 2 |
Always 2 (GUILD_ONLY) |
scheduled_start_time |
string | yes | ISO 8601 timestamp when the event starts | |
entity_type |
1 | 2 | 3 | yes | 1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL | |
channel_id |
string | no | pattern: ^\d{17,20}$ |
Required for STAGE/VOICE; must be a stage or voice channel |
entity_metadata |
object | no | Required for EXTERNAL events; location is the venue text |
|
scheduled_end_time |
string | no | ISO 8601 end timestamp (required for EXTERNAL) | |
description |
string | no | max length: 1000 |
Event description (max 1000 chars) |
image |
string | null | no | Cover image as base64 data URI, or null | |
recurrence_rule |
object | no | Recurrence rule object (see Discord docs) | |
audit_reason |
string | no | min length: 1; max length: 512 |
Reason recorded in audit log (X-Audit-Log-Reason header) |
Complete input JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "guild_id": { "type": "string", "pattern": "^\\d{17,20}$", "description": "Guild to create the event in" }, "name": { "type": "string", "minLength": 1, "maxLength": 100, "description": "Event name (1-100 chars)" }, "privacy_level": { "default": 2, "description": "Always 2 (GUILD_ONLY)", "type": "number", "const": 2 }, "scheduled_start_time": { "type": "string", "description": "ISO 8601 timestamp when the event starts" }, "entity_type": { "anyOf": [ { "type": "number", "const": 1 }, { "type": "number", "const": 2 }, { "type": "number", "const": 3 } ], "description": "1=STAGE_INSTANCE, 2=VOICE, 3=EXTERNAL" }, "channel_id": { "description": "Required for STAGE/VOICE; must be a stage or voice channel", "type": "string", "pattern": "^\\d{17,20}$" }, "entity_metadata": { "description": "Required for EXTERNAL events; `location` is the venue text", "type": "object", "properties": { "location": { "type": "string", "minLength": 1, "maxLength": 100 } } }, "scheduled_end_time": { "description": "ISO 8601 end timestamp (required for EXTERNAL)", "type": "string" }, "description": { "description": "Event description (max 1000 chars)", "type": "string", "maxLength": 1000 }, "image": { "description": "Cover image as base64 data URI, or null", "type": [ "string", "null" ] }, "recurrence_rule": { "description": "Recurrence rule object (see Discord docs)", "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "audit_reason": { "description": "Reason recorded in audit log (X-Audit-Log-Reason header)", "type": "string", "minLength": 1, "maxLength": 512 } }, "required": [ "guild_id", "name", "scheduled_start_time", "entity_type" ]}Returns
Section titled “Returns”{id, name, scheduled_start_time, status, entity_type, channel_id, description?, creator_id?}. creator_id is absent for events created before October 2021.
Example structured result
Section titled “Example structured result”{ "id": "123456789012345678", "guild_id": "123456789012345678", "name": "Example name", "scheduled_start_time": "2030-01-01T10:00:00.000Z", "scheduled_end_time": "2030-01-01T10:00:00.000Z", "status": 1, "entity_type": 1, "channel_id": "123456789012345678"}Output schema
Section titled “Output schema”| Field | Type | Required | Constraints | Description |
|---|---|---|---|---|
id |
string | yes | pattern: ^\d{17,20}$ |
Discord scheduled event ID |
guild_id |
string | yes | pattern: ^\d{17,20}$ |
Discord guild (server) ID |
name |
string | yes | ||
description |
string | null | no | ||
scheduled_start_time |
string | yes | ||
scheduled_end_time |
string | null | yes | ||
status |
integer | yes | ||
entity_type |
integer | yes | ||
channel_id |
string | null | yes | ||
creator_id |
string | null | no |
Complete output JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "string", "pattern": "^\\d{17,20}$", "description": "Discord scheduled event ID" }, "guild_id": { "type": "string", "pattern": "^\\d{17,20}$", "description": "Discord guild (server) ID" }, "name": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "scheduled_start_time": { "type": "string" }, "scheduled_end_time": { "type": [ "string", "null" ] }, "status": { "type": "integer" }, "entity_type": { "type": "integer" }, "channel_id": { "anyOf": [ { "type": "string", "pattern": "^\\d{17,20}$", "description": "Discord channel ID (snowflake)" }, { "type": "null" } ] }, "creator_id": { "anyOf": [ { "type": "string", "pattern": "^\\d{17,20}$", "description": "Discord user ID" }, { "type": "null" } ] } }, "required": [ "id", "guild_id", "name", "scheduled_start_time", "scheduled_end_time", "status", "entity_type", "channel_id" ], "additionalProperties": false}Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | no |
| Destructive | no |
| Idempotent | no |
| Open-world | yes |
| Confirmation required | no |
Access and common errors
Section titled “Access and common errors”- The
eventscategory must be enabled byMCP_CATEGORIESwhen an allowlist is set. - Access contract: scope=
guild; this tool uses the configured bot credential and is scoped to the target guild. - Required permission bits:
CREATE_EVENTS. Conditional access is selected from payload fields:entity_type→MANAGE_CHANNELS,MUTE_MEMBERS,MOVE_MEMBERS;entity_type→VIEW_CHANNEL,CONNECT. Permission evidence is taken from target field(s):channel_id. - Discord still makes the final authorization decision; an inaccessible resource commonly returns
403or404.
Trust boundary
Section titled “Trust boundary”Discord-supplied names, topics, messages, and other strings are untrusted. Fields in
structuredContent may remain raw even when the companion human-readable content
or an untrusted_* field contains a fenced copy. Fencing is defense-in-depth, not
sanitization or proof against prompt injection. Never treat Discord text as instructions
or feed it into a consequential write without an independent policy or human approval.
Source
Section titled “Source”packages/mcp-core/src/tools/events/create.ts

