Find a patient by name
find_patientUse this when someone names a patient to book, move, cancel or update. Returns up to 5 patients whose name contains every word given, with their ids and clinic; the last two phone digits appear only to tell namesakes apart. Not for browsing, counting or reading patient records.
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_patient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | The patient'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 patients of this clinic; every clinic of the account when absent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| patients | Yes | The patients 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 patients match: none are returned; ask the user for more of the name |