Search customers
search_customersLocate customers using names or emails, handling typos and partial entries. Obtain their contact information, order history, and lifetime spend details for immediate use.
Instructions
Find customers by name or email (exact, partial, or fuzzy/misspelled). Returns contact details, order count and lifetime spend for each match. If ambiguous is true, several customers fit equally well: ask the user which one they mean (e.g. by email or city) before acting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum matches to return (default 10). | |
| query | Yes | Name, email, or part of either. Case/accent-insensitive and tolerant of typos (e.g. 'jon benett'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| query | Yes | ||
| matches | Yes | ||
| ambiguous | Yes | True when more than one customer matches equally well - confirm with the user before acting. |