Skip to main content

Search Contacts

Catalog + Curated

This page is generated from the full broker catalog and enhanced with curated examples.

GETghl.search_contacts

Find contacts by query, email, or phone.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-search-contacts-example",
"method": "tools/call",
"params": {
"name": "ghl.search_contacts",
"arguments": {
"query": "john",
"limit": 10
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100
}
},
"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-search-contacts-example",
"method": "tools/call",
"params": {
"name": "ghl.search_contacts",
"arguments": {
"query": "john",
"limit": 10
}
}
}'

Example Responses

{
"ok": true,
"contacts": [
{
"id": "cont_01",
"firstName": "John",
"lastName": "Doe",
"email": "john@example.com"
}
]
}