Skip to main content

Get Location Templates

Snapshot Catalog Entry

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

GETghl.get_location_templates

Get SMS/Email templates for a location

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-get-location-templates-example",
"method": "tools/call",
"params": {
"name": "ghl.get_location_templates",
"arguments": {
"locationId": "locationId_123",
"originId": "originId_123",
"tenantId": "tenantId_123",
"strictTenant": false,
"deleted": false,
"skip": 1,
"limit": 1,
"type": "sms"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"locationId": {
"type": "string"
},
"originId": {
"type": "string"
},
"deleted": {
"type": "boolean"
},
"skip": {
"type": "number"
},
"limit": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"sms",
"email",
"whatsapp"
]
}
},
"required": [
"locationId",
"originId"
]
}

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-get-location-templates-example",
"method": "tools/call",
"params": {
"name": "ghl.get_location_templates",
"arguments": {
"locationId": "locationId_123",
"originId": "originId_123",
"tenantId": "tenantId_123",
"strictTenant": false,
"deleted": false,
"skip": 1,
"limit": 1,
"type": "sms"
}
}
}'

Example Responses

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