List customers
list_customersList CRM customers: companies that bought — a purchase order (processing, ready to ship, shipped, delivered or refunded, or with a settled payment) or a won deal that never became an order. Filter by health, lifetime-value bucket, owner, name search or minimum won deals; sorted by lifetime value and paginated. Returns summary rows (id, name, health, lifetimeValue = completed-order revenue plus won deals without an order, purchases = purchase orders plus won deals without an order, repeat = two or more purchases, lastPurchaseAt, wonDealsCount = every won deal, lastActivityAt, owner) plus pagination { page, perPage, total }. Read-only. Use get_customer to fetch one customer's detail by company id; use list_people_customers for people who bought without a company (shop buyers).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text search over the customer company name. Omit for no text filter. | |
| ltv | No | Filter by lifetime-value bucket. Omit for any. Allowed: lt10k, 10k50k, gt50k. | |
| page | No | 1-based page number of results to return. Default 1. | |
| health | No | Filter by customer health. Omit for any. Allowed: healthy, at_risk, churned. | |
| ownerId | No | Filter to customers owned by this workspace member's user id. | |
| perPage | No | Number of customers per page (1-100). Default 25. | |
| sortDir | No | Sort direction by lifetime value. Default desc (highest first). | desc |
| wonDealsMin | No | Only customers with at least this many won deals (orders are not counted here). |