Skip to main content

Search Object Records

Snapshot Catalog Entry

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

GETghl.search_object_records

Search records within a custom or standard object using searchable properties

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-search-object-records-example",
"method": "tools/call",
"params": {
"name": "ghl.search_object_records",
"arguments": {
"schemaKey": "schemaKey_example",
"query": "query_example",
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"page": 1,
"pageLimit": 1,
"searchAfter": []
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"strictTenant": {
"type": "boolean"
},
"schemaKey": {
"type": "string"
},
"query": {
"type": "string"
},
"locationId": {
"type": "string"
},
"page": {
"type": "number",
"minimum": 1
},
"pageLimit": {
"type": "number",
"minimum": 1,
"maximum": 100
},
"searchAfter": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"schemaKey",
"query"
]
}

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-object-records-example",
"method": "tools/call",
"params": {
"name": "ghl.search_object_records",
"arguments": {
"schemaKey": "schemaKey_example",
"query": "query_example",
"tenantId": "tenantId_123",
"strictTenant": false,
"locationId": "locationId_123",
"page": 1,
"pageLimit": 1,
"searchAfter": []
}
}
}'

Example Responses

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