compare_labs
Analyze and compare medical lab results over time to identify trends and changes in patient health data.
Instructions
Compare lab results over time to identify trends.
Two modes:
Specific: provide file_id_a and file_id_b to compare two specific lab sets.
Date range: provide date_from/date_to to compare all labs in a period.
Note: Each lab document is 100KB-2MB. Keep limit reasonable.
Args: file_id_a: First lab file_id (optional). file_id_b: Second lab file_id (optional). date_from: Start date for range query (YYYY-MM-DD). date_to: End date for range query (YYYY-MM-DD). limit: Maximum number of lab documents to include (default 10).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_labs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id_a | No | ||
| file_id_b | No | ||
| date_from | No | ||
| date_to | No | ||
| limit | No |