Get metric trend
fitness_get_trendsRetrieve daily values for one fitness metric—weight, calories, protein, carbs, or fat—over a chosen date range, letting you chart progress and analyze nutrition trends.
Instructions
A single metric over a date range, for charts/analysis.
metric: weight | calories_in | protein | carbs | fat. start/end: YYYY-MM-DD (default: last 30 days). Returns {metric, points: [{day, value}, ...]} with nulls omitted.
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": {
"metric": "<metric>"
},
"name": "fitness_get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| metric | Yes |