Skip to main content

Update Calendar Notification

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.update_calendar_notification

Update calendar notification

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-update-calendar-notification-example",
"method": "tools/call",
"params": {
"name": "ghl.update_calendar_notification",
"arguments": {
"calendarId": "calendarId_123",
"notificationId": "notificationId_123",
"tenantId": "tenantId_123",
"receiverType": "contact",
"channel": "email",
"notificationType": "booked",
"isActive": false,
"deleted": false,
"templateId": "templateId_123",
"body": "body_example"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"calendarId": {
"type": "string"
},
"notificationId": {
"type": "string"
},
"receiverType": {
"type": "string",
"enum": [
"contact",
"guest",
"assignedUser",
"emails"
]
},
"channel": {
"type": "string",
"enum": [
"email",
"inApp"
]
},
"notificationType": {
"type": "string",
"enum": [
"booked",
"confirmation",
"cancellation",
"reminder",
"followup",
"reschedule"
]
},
"isActive": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
},
"templateId": {
"type": "string"
},
"body": {
"type": "string"
},
"subject": {
"type": "string"
}
},
"required": [
"calendarId",
"notificationId"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-update-calendar-notification-example",
"method": "tools/call",
"params": {
"name": "ghl.update_calendar_notification",
"arguments": {
"calendarId": "calendarId_123",
"notificationId": "notificationId_123",
"tenantId": "tenantId_123",
"receiverType": "contact",
"channel": "email",
"notificationType": "booked",
"isActive": false,
"deleted": false,
"templateId": "templateId_123",
"body": "body_example"
}
}
}'

Example Responses

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