get_weekly_steps
Retrieve weekly step totals for a specified number of weeks up to a given end date, with configurable range (default 4 weeks, max 52).
Instructions
Get weekly step data aggregates
Returns weekly step totals for the specified number of weeks ending at end_date.
Args: end_date: End date in YYYY-MM-DD format weeks: Number of weeks to fetch (default 4, max 52)
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": {
"end_date": "<end_date>"
},
"name": "get_weekly_steps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | ||
| end_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |