list_customers
Retrieve a customer directory with contact details and lifetime spending totals. Filter by name, phone, or email to find specific customers.
Instructions
Retrieve customer contact directory and their lifetime spending metrics from Chirak.
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 |
|---|---|---|---|
| limit | No | Max customers to return (default: 50). | |
| search | No | Search customer by name, phone or email. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Result data payload from Chirak API. | |
| success | No | Status of the tool execution. |