vora_add_biomarker
Record a biomarker / lab value for the signed-in user with unit conversion, fasting-aware plausibility check and GKI derivation (e.g. glucose 95 mg/dL, ketone 1.2 mmol/L, weight 82 kg, CRP 0.4 mg/dL). A reply of created: false, deduped: true means success: the same reading was already stored (typically entered in the app shortly before) and this one was merged into that row, whose id is returned. This path never deletes anything.
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": {
"biomarker": "<biomarker>",
"value": "<value>",
"unit": "<unit>"
},
"name": "vora_add_biomarker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | e.g. 'mg/dL', 'mmol/L', 'kg' | |
| notes | No | ||
| value | Yes | ||
| device | No | ||
| biomarker | Yes | e.g. 'glucose', 'ketone', 'weight', 'crp', 'ldl' | |
| observedAt | No | YYYY-MM-DD or ISO timestamp, defaults to now | |
| minutesSinceMeal | No | Minutes since the last meal for a postprandial reading, as stated by the user. | |
| measurementContext | No | Context of a glucose/GKI reading as stated by the user: fasted (≥8 h no caloric intake), postprandial (after a meal, with minutesSinceMeal), random, fasting (during a deliberate fast), unknown. If omitted, Vora derives it from Still fasting and Joiva meal times. A given value is stored as the user's statement and never overwritten automatically. | |
| fastingDurationHours | No |