Log activity
log_activityRecord progress on one Must or habit from the user's plan for today or yesterday, then return the updated score. Check-off habits are marked done. Count and duration habits have the amount added to the day's total; two logs at the same time both count. It never lowers or undoes a value. Do not repeat a call after a timeout; check get_power_day first.
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": {
"activity_id": "<activity_id>"
},
"name": "log_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Which day to log. | today |
| amount | No | Whole amount to add for count or duration habits (minutes for duration). Ignored for check-off habits. | |
| activity_id | Yes | Activity id from get_power_day. |