record_series
Store time-series measurements in atomic batches. Invalid points reject the batch; existing points update by key and time, and batch_id enables undo.
Instructions
Record measurements over time for a series type (list_schemas shows kind "series", its key fields, time field and measures), e.g. [{"person": "A", "measured_on": "2026-07-01", "kg": 70.2}].
One call = one batch, all or nothing: if any point is invalid nothing is stored and `rejected` says why.
A point whose key and time are already stored is updated (the batch keeps the previous values).
source: where the values come from (file, app, "user said"). by: your agent name.
Returns batch_id and counts (inserted / updated / unchanged); revert_series_batch(batch_id) undoes 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": {
"by": "<by>",
"entity_type": "<entity_type>",
"points": "<points>",
"source": "<source>"
},
"name": "record_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| points | Yes | ||
| source | Yes | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||