Skip to main content

Resolve Calendar

Snapshot Catalog Entry

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

GETghl.resolve_calendar

Resolve a calendar by name and return its ID.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-resolve-calendar-example",
"method": "tools/call",
"params": {
"name": "ghl.resolve_calendar",
"arguments": {
"name": "name_example",
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"groupId": "groupId_123",
"showDrafted": false,
"matchMode": "contains",
"includeMatches": false
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"name": {
"type": "string"
},
"locationId": {
"type": "string"
},
"groupId": {
"type": "string"
},
"showDrafted": {
"type": "boolean"
},
"matchMode": {
"type": "string",
"enum": [
"contains",
"exact"
]
},
"includeMatches": {
"type": "boolean"
}
},
"required": [
"name"
],
"additionalProperties": false
}

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-resolve-calendar-example",
"method": "tools/call",
"params": {
"name": "ghl.resolve_calendar",
"arguments": {
"name": "name_example",
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"groupId": "groupId_123",
"showDrafted": false,
"matchMode": "contains",
"includeMatches": false
}
}
}'

Example Responses

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