Set Activity
set_user_activitySet a day's total step count and/or activity energy burned (kcal), replacing specified values while keeping omitted values unchanged.
Instructions
Set the day's total step count and/or energy burned by activity (kcal), as a step counter would. It replaces the day's values; a value left out keeps its current value. For a workout use add_user_exercise.
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": {
"date": "<date>"
},
"name": "set_user_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Day of the activity (YYYY-MM-DD) | |
| steps | No | The day's total step count; replaces the current value | |
| energy | No | The day's total energy burned by activity, in kcal; replaces the current value |