Skip to main content

Set Active Location

Snapshot Catalog Entry

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

POSTghl.set_active_location

Set the default tenant by location ID (server memory only).

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-set-active-location-example",
"method": "tools/call",
"params": {
"name": "ghl.set_active_location",
"arguments": {
"locationId": "locationId_123"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"locationId": {
"type": "string"
}
},
"required": [
"locationId"
],
"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-set-active-location-example",
"method": "tools/call",
"params": {
"name": "ghl.set_active_location",
"arguments": {
"locationId": "locationId_123"
}
}
}'

Example Responses

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