Skip to main content

Update Calendar Resource Room

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.update_calendar_resource_room
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 50e6e969815907c1a843c7424b4181b1eb74ac9c094271df080620d2adfe619b

Update room resource details GHL category: Calendars. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-update-calendar-resource-room-example",
"method": "tools/call",
"params": {
"name": "ghl.update_calendar_resource_room",
"arguments": {
"resourceId": "resourceId_123",
"name": "name_example",
"capacity": 1,
"isActive": false,
"quantity": 1,
"tenantId": "tenantId_123",
"calendarIds": [],
"description": "description_example",
"outOfService": 1
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"resourceId"
],
"properties": {
"name": {
"type": "string",
"description": "Room name"
},
"capacity": {
"type": "number",
"description": "Room capacity"
},
"isActive": {
"type": "boolean",
"description": "Whether resource is active"
},
"quantity": {
"type": "number",
"description": "Total quantity available"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"resourceId": {
"type": "string",
"description": "Room resource ID"
},
"calendarIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Associated calendar IDs"
},
"description": {
"type": "string",
"description": "Room description"
},
"outOfService": {
"type": "number",
"description": "Number currently out of service"
}
}
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response 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": "ghl-update-calendar-resource-room-example",
"method": "tools/call",
"params": {
"name": "ghl.update_calendar_resource_room",
"arguments": {
"resourceId": "resourceId_123",
"name": "name_example",
"capacity": 1,
"isActive": false,
"quantity": 1,
"tenantId": "tenantId_123",
"calendarIds": [],
"description": "description_example",
"outOfService": 1
}
}
}'

Example Responses

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