List Calendar Events
Catalog + Curated
This page is generated from the full broker catalog and enhanced with curated examples.
List events in a date range for scheduling checks.
Request Body
{
"jsonrpc": "2.0",
"id": "google-calendar-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"startTime",
"endTime"
],
"properties": {
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"calendarId": {
"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-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}'
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-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}),
});
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-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 400 Invalid Date Range
{
"ok": true,
"events": [
{
"id": "evt_411",
"summary": "Pipeline Review",
"start": "2026-03-30T14:00:00Z"
}
]
}
{
"ok": false,
"error": "validation_error",
"message": "endTime must be after startTime"
}