Skip to main content

Get Smart List Contacts

Snapshot Catalog Entry

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

GETghl.get_smart_list_contacts

Emulate Smart Lists by returning contacts that match tag filters.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-get-smart-list-contacts-example",
"method": "tools/call",
"params": {
"name": "ghl.get_smart_list_contacts",
"arguments": {
"tags": [],
"tenantId": "tenantId_123",
"strictTenant": false,
"matchMode": "any",
"query": "query_example",
"limit": 1,
"startAfterId": "startAfterId_123",
"startAfter": 1,
"locationId": "locationId_123"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"matchMode": {
"type": "string",
"enum": [
"any",
"all"
]
},
"query": {
"type": "string"
},
"limit": {
"type": "number"
},
"startAfterId": {
"type": "string"
},
"startAfter": {
"type": "number"
},
"locationId": {
"type": "string"
}
},
"required": [
"tags"
]
}

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-smart-list-contacts-example",
"method": "tools/call",
"params": {
"name": "ghl.get_smart_list_contacts",
"arguments": {
"tags": [],
"tenantId": "tenantId_123",
"strictTenant": false,
"matchMode": "any",
"query": "query_example",
"limit": 1,
"startAfterId": "startAfterId_123",
"startAfter": 1,
"locationId": "locationId_123"
}
}
}'

Example Responses

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