export_data
Export glucose readings for external database storage. Retrieve clean, consistent data over specified time windows to build a long-term health history.
Instructions
Export glucose readings for persistence layer integration.
Returns clean, consistent data structure for storage in external databases.
Call periodically to build long-term data history.
Args:
minutes: Time period to export (1-1440, default 1440 = 24h)
start_minutes: Window start - minutes ago from now (e.g., 240 = 4 hours ago)
end_minutes: Window end - minutes ago from now (e.g., 180 = 3 hours ago)
format: Export format - "json" or "csv" (default "json")
data: Optional external readings to format/export instead of fetching.
Examples:
export_data(minutes=180) # Export last 3 hours
export_data(start_minutes=240, end_minutes=180) # Export 4h to 3h ago
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": "export_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| format | No | json | |
| minutes | No | ||
| end_minutes | No | ||
| start_minutes | No |