Mark an activity day
mark_activityMark (or unmark) that one of the user's existing activities happened on a day, e.g. "I played football yesterday". One day per call; past days and today only. The activity must already exist: an unknown name returns the user's activity names, and new activities are created by the user in the AIm app. Marks are not workouts; a session is logged with log_session.
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": "<activity>",
"date": "<date>"
},
"name": "mark_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The day it happened, in the user's timezone, YYYY-MM-DD. | |
| done | No | true marks the day, false removes the mark. | |
| today | No | Today in the user's timezone, YYYY-MM-DD; future days refused. | |
| activity | Yes | The activity's id, or its name as the user calls it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||