Telemetry Timeline
telemetry_timelineRetrieve and downsample a Meshtastic telemetry field over a time window, returning points, min/max, and regression slope to spot trends or leaks.
Instructions
Time series of one telemetry field, bucket-mean downsampled to <= max_points.
Returns {points: [{ts, value}], samples, min, max, slope_per_min, window}.
slope_per_min is a linear regression in units/minute: a negative slope on free_heap
over a long window means a real leak. The local (LocalStats) cadence is the device's
device_update_interval, about 60 s, so 1 h gives about 60 raw points.
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": "telemetry_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Only telemetry from this port. | |
| field | No | The field in snake_case or camelCase; common aliases (free_heap, heap_free_bytes) are normalized. | free_heap |
| window | No | How far back to look, such as "1h" or "-30m". | 1h |
| variant | No | One of device, local, environment, power, airQuality, health, host. | local |
| max_points | No | Cap on the points returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||