Log a health metric
log_metricRecord a single health metric measurement with numeric value, optional unit, note, and timestamp. Use it to log time-series data like weight, blood pressure, or glucose.
Instructions
Record one quantitative reading (a point in a time series).
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": {
"metric": "<metric>",
"value": "<value>"
},
"name": "log_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional context ('after run', 'fasting', 'left arm'). | |
| unit | No | unit string, e.g. 'kg', 'mmHg', 'mg/dL', 'hours', 'bpm', '%', '°C'. | |
| user | No | which person this belongs to; defaults to the primary user. | |
| value | Yes | numeric value. | |
| metric | Yes | snake_case name, e.g. 'weight_kg', 'systolic_bp', 'glucose_mgdl', 'sleep_hours', 'heart_rate', 'mood' (0-10), 'spo2', 'temperature_c'. | |
| timestamp | No | when it was measured. ISO8601, 'YYYY-MM-DD', or 'now' (default). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||