get_batch_readings
Fetch fermentation readings for a batch, with optional downsampling and a summary of gravity, temperature, and attenuation.
Instructions
Fetch fermentation readings (Tilt or manual) for a batch.
An active ferment can log thousands of points, so the series is downsampled evenly rather than returned whole. The first and last readings are always kept.
Args:
batch_id: The batch _id.
latest_only: Return just the most recent reading. Default False.
downsample_to: Approximate number of points to return. Default 200.
Set to 0 to disable downsampling and return everything.
Returns: The reading series plus a derived summary: first and last gravity, min/max/mean temperature, apparent attenuation, and days elapsed. The summary is always computed over the full series, not the downsampled one.
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": {
"batch_id": "<batch_id>"
},
"name": "get_batch_readings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | ||
| latest_only | No | ||
| downsample_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||