Analyze substance trend
analyze_substance_trendRetrieve daily total stats for a specific substance from health records, providing analysis-ready numeric trends over a date range.
Instructions
Return descriptive daily-total stats for one substance when numeric amounts exist.
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": {
"substance": "<substance>"
},
"name": "analyze_substance_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| since | No | ||
| until | No | ||
| substance | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||