Find a pet owner by name
find_clientUse this when someone names a pet owner of their vet clinic, to get the owner's id before adding an animal or changing their details. Returns up to five owners whose name contains every word given, with id, name and clinic; namesakes are told apart by the last two digits of their phone. Not for finding an animal.
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": {
"search": "<search>"
},
"name": "find_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | The client's name as the user gave it, or part of it. Every word must appear in the stored name, in any order, ignoring case and accents. | |
| clinicId | No | Only clients of this clinic; every clinic of the account when absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| clients | Yes | The clients whose name matches, with the ids the other tools take. Contact details, dates of birth, notes and clinical records are never returned. | |
| tooManyMatches | Yes | More than 5 clients match: none are returned; ask the user for more of the name |