advancedmd_find_patient, the native AdvancedMD patient search tool exposed through the Agents Platform.
Authentication
AdvancedMD tools use the existing AdvancedMD connector. Users configure:office_codeusernamepassword
advancedmd_find_patient
Searches AdvancedMD for patients by name and/or date of birth using the lookuppatient API. This is a read-only lookup tool.
Inputs
At least one of the following is required:first_name: Patient first name.last_name: Patient last name. Recommended for name searches — AdvancedMD matches onLast, First.dob: Date of birth in ISO-8601 format (YYYY-MM-DD). The tool converts this to AdvancedMD’sMM/DD/YYYYformat internally.
exact_match: Defaults tofalsefor broader results. Whentrue, AdvancedMD uses exact matching.max_results: Defaults to25. Maximum patients to return.page: Defaults to1. 1-based result page.
Output
On success, structured content includes:found: truecount: number of patients returnedpatients: array of matched AdvancedMD patient attribute maps (id, name, chart, dob, …)
patient_not_found: no AdvancedMD patient matched the supplied criteria (found: false).advancedmd_not_connected: AdvancedMD is not connected. The agent should ask the user to either connect AdvancedMD and try again, or stop the task.
Agent Instruction Guidance
When searching for a specific patient, supplylast_name plus dob for the most reliable single match. Use first_name to disambiguate when multiple patients share a last name.