Skip to main content

Update Calendar Resource Room

Snapshot Catalog Entry

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

POSTghl.update_calendar_resource_room

Update room resource details

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",
"tenantId": "tenantId_123",
"name": "name_example",
"quantity": 1,
"outOfService": 1,
"capacity": 1,
"calendarIds": [],
"isActive": false
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"resourceId": {
"type": "string"
},
"name": {
"type": "string"
},
"quantity": {
"type": "number"
},
"outOfService": {
"type": "number"
},
"capacity": {
"type": "number"
},
"calendarIds": {
"type": "array",
"items": {
"type": "string"
}
},
"isActive": {
"type": "boolean"
}
},
"required": [
"resourceId"
]
}

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-resource-room-example",
"method": "tools/call",
"params": {
"name": "ghl.update_calendar_resource_room",
"arguments": {
"resourceId": "resourceId_123",
"tenantId": "tenantId_123",
"name": "name_example",
"quantity": 1,
"outOfService": 1,
"capacity": 1,
"calendarIds": [],
"isActive": false
}
}
}'

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."
}