Log values for a day
log_valuesLog anything that is not food for a day, by the person's own field names (get_overview lists them). A field that adds up (water, coffee) ADDS what you send, so send what happened now, never the new total; a reading (weight, mood) or a yes/no fills a day that has none. To change what the day already holds, use set_values. A name that is not a field is refused: ask the person whether to track it.
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": {
"idempotency_key": "<idempotency_key>",
"values": "<values>"
},
"name": "log_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Omit for today. | |
| values | Yes | Field name to value, in the person's units: {"Weight (kg)": 78.4, "Water (ml)": 500, "Headache": true}. | |
| idempotency_key | Yes | A new random string per write (8-128 of A-Z a-z 0-9 - _ . :); send the same one to retry, never a new one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| written | Yes | ||
| replayed | No | ||
| write_id | No |