Get metric history
get_metricsRetrieve health metric readings sorted newest first. Filter by metric name, date range, or user to analyze specific health data.
Instructions
Return raw metric readings, newest first, optionally filtered by metric/date.
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": "get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | which person; defaults to the primary user. | |
| limit | No | max rows (capped by server). | |
| since | No | ||
| until | No | ||
| metric | No | restrict to one metric name; omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||