Skip to main content

Calendar Replace Event

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEgoogle.calendar_replace_event
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: google-2026.07.12.2
  • Descriptor hash: c1746f7a944683553f0f0eba0690dc9bac1f5c8dcc21da73cb158e3edbb9c066

Replace a calendar event with a full event body. It can overwrite, send, move, remove, or permanently delete Google data. Use it only after preview and the manifest-defined confirmation; it requires per-request Google OAuth.

Request Body

{
"jsonrpc": "2.0",
"id": "google-calendar-replace-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_replace_event",
"arguments": {
"calendar_id": "calendar_id_123",
"event_id": "event_id_123",
"event_body": {},
"confirm": false,
"send_updates": "all"
}
}
}

Arguments Schema

{
"type": "object",
"title": "calendar_replace_eventArguments",
"required": [
"calendar_id",
"event_id",
"event_body"
],
"properties": {
"confirm": {
"type": "boolean",
"title": "Confirm",
"default": false,
"description": "Required true for high-risk operations when confirmation is enforced."
},
"event_id": {
"type": "string",
"title": "Event Id",
"description": "Google Calendar event ID."
},
"event_body": {
"type": "object",
"title": "Event Body",
"description": "Google Calendar event request body.",
"additionalProperties": true
},
"calendar_id": {
"type": "string",
"title": "Calendar Id",
"description": "Google Calendar calendar ID, often 'primary'."
},
"send_updates": {
"enum": [
"all",
"externalOnly",
"none"
],
"type": "string",
"title": "Send Updates",
"default": "all",
"description": "How Google Calendar should notify attendees."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or Google provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded local navigation or Google provider result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe timing, pagination, cache, request, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Google MCP normalized operation envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-calendar-replace-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_replace_event",
"arguments": {
"calendar_id": "calendar_id_123",
"event_id": "event_id_123",
"event_body": {},
"confirm": false,
"send_updates": "all"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool google.calendar_replace_event executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}