Create Calendar Event
Catalog + Curated
This page is generated from the full broker catalog and enhanced with curated examples.
Create an event with summary, time window, and attendees.
Request Body
{
"jsonrpc": "2.0",
"id": "google-calendar-create-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_create_event",
"arguments": {
"summary": "Weekly Revenue Sync",
"startTime": "2026-03-31T16:00:00Z",
"endTime": "2026-03-31T16:30:00Z",
"attendees": [
"ops@example.com",
"sales@example.com"
]
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"summary",
"startTime",
"endTime"
],
"properties": {
"summary": {
"type": "string"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"attendees": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
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": "google-calendar-create-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_create_event",
"arguments": {
"summary": "Weekly Revenue Sync",
"startTime": "2026-03-31T16:00:00Z",
"endTime": "2026-03-31T16:30:00Z",
"attendees": [
"ops@example.com",
"sales@example.com"
]
}
}
}'
const response = await fetch('https://madpanda3d.com/lab/mad-mcps/portal/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "google-calendar-create-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_create_event",
"arguments": {
"summary": "Weekly Revenue Sync",
"startTime": "2026-03-31T16:00:00Z",
"endTime": "2026-03-31T16:30:00Z",
"attendees": [
"ops@example.com",
"sales@example.com"
]
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "google-calendar-create-event-example",
"method": "tools/call",
"params": {
"name": "google.calendar_create_event",
"arguments": {
"summary": "Weekly Revenue Sync",
"startTime": "2026-03-31T16:00:00Z",
"endTime": "2026-03-31T16:30:00Z",
"attendees": [
"ops@example.com",
"sales@example.com"
]
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 409 Conflict
{
"ok": true,
"event": {
"id": "evt_733",
"summary": "Weekly Revenue Sync"
}
}
{
"ok": false,
"error": "conflict",
"message": "Event overlaps with an existing booking"
}