export_data
Export measurements, nutrition, or water records as CSV or JSON, filtered by profile ID and date range for reporting or backup.
Instructions
Read-only. Call check_auth_status first. Export measurements, FitDays 2.0 nutrition or water rows as CSV or JSON text, filtered by profile and time.
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": {
"dataset": "<dataset>"
},
"name": "export_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suid | No | Profile id; defaults to the active profile | |
| limit | No | Maximum rows, default 5000, max 20000 | |
| since | No | Window start (RFC3339 or date) | |
| until | No | Window end (RFC3339 or date) | |
| format | No | Output format: csv or json (default csv) | |
| dataset | Yes | Dataset: measurements, nutrition or water |