Search customers
search_customersFind customers by name wildcard or exact contact email, or list active customers when no filters are set. Returns IDs, addresses, main contacts, and tags, with pagination.
Instructions
Search customers by name (wildcard) or contact email (exact). With no filters, lists active customers. Returns id, name, address, main contact and tags. Paginated.
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": "search_customers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Customer name; the API performs a wildcard match. | |
| page | No | Page number, starting at 1. | |
| sort | No | ||
| No | Contact email; the API performs an exact match. | ||
| active | No | True for active customers (API default), False for inactive. | |
| page_size | No | Results per page, 1-100 (API maximum is 100). | |
| sort_order | No | ||
| changed_since | No | Only records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||