export_data
Export Cronometer food logs, daily nutrient totals, exercises, biometrics, or notes over long date ranges as JSON or CSV, with paging for large results.
Instructions
Cronometer's own data export, for long date ranges.
data_type is one of:
servings: every food logged, with its full nutrients
daily_summary: one row of nutrient totals per day
exercises, biometrics, notes
The rows are the columns of Cronometer's CSV export. Large results are paged; follow the get_result_page hint.
Args: data_type: servings, daily_summary, exercises, biometrics or notes. start_date: First day, YYYY-MM-DD. end_date: Last day, YYYY-MM-DD (defaults to today). format: "json" for parsed rows or "csv" for the raw text.
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": {
"data_type": "<data_type>",
"start_date": "<start_date>"
},
"name": "export_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| end_date | No | ||
| data_type | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |