create_habit
Create a habit for a client (confirm-gated). daysOfWeek: 0=Sun..6=Sat (empty = every day). reminderTime: 'HH:mm'.
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": {
"clientId": "<clientId>",
"name": "<name>"
},
"name": "create_habit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| emoji | No | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| category | No | ||
| clientId | Yes | ||
| frequency | No | DAILY | |
| daysOfWeek | No | ||
| description | No | ||
| targetCount | No | ||
| reminderTime | No |