compare_lab_results
Compare earliest and latest lab results for one test within an optional date range to track changes over time.
Instructions
Compare the earliest and latest result of one test in an optional YYYY-MM-DD range.
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": {
"medical_record": "<medical_record>",
"test_code": "<test_code>"
},
"name": "compare_lab_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| test_code | Yes | ||
| start_date | No | ||
| medical_record | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||