List customers
Search customers by name, email, phone or address, with their service addresses.
MCP tool housecall_pro_read → list_customers
read
Returns customer profiles that match the query, as the customer search on a new job does: name, email, phone numbers and each service address. Mobile numbers are marked, because only a number in the Mobile field can receive texts. Pages hold up to 50 customers; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Name, email, phone number or address to search for. |
| tag string | string | Only customers with this tag. |
| limit integer | integer | 1 to 50. Default: 20. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "housecall_pro_read",
"arguments": {
"operation": "list_customers",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"customers": [
{
"customer_id": "cus_4f2a91",
"name": "Dana Whitfield",
"email": "dana@example.com",
"mobile": "+1 555 010 0142",
"addresses": [
{
"address_id": "adr_71c0",
"street": "14 Elm Street",
"city": "Springfield",
"state": "IL",
"zip": "62704"
}
],
"tags": [
"Service Plan"
]
}
],
"next_cursor": null
},
"isError": false
}