find_customer
Locate customer accounts by email or name, including partial or fuzzy matches, and return each account’s ID, order count, and net spend so admins can resolve ambiguous matches.
Instructions
Find customer accounts by email or name (substring or fuzzy). Returns each match with its id, order count and net spend. Several people can share a name: when more than one account matches, do not guess which one is meant; ask the admin (an email address settles it).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "find_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matches to return. | |
| query | Yes | An email (full or partial) or a name, e.g. "maya@example.com". |