manage_recovery_strategy
Add, update, end, or delete recovery practices with inferred schedules and dates. Resolve by name or ID, then confirm assumptions to keep adherence data accurate.
Instructions
Add, update, end, or delete a recovery/mindfulness strategy. Use when the user describes a new practice, changes a schedule, stops a practice, or removes one. Infer category from name, start_date defaults to today, infer schedule from context. ASK only if name is missing.
SELECTOR for update/end/delete — pass id if known, or strategy_name (case-insensitive substring, e.g. "sauna") to resolve it. Exactly one of id or strategy_name required. If strategy_name matches more than one strategy, the call errors with candidate IDs to retry with.
AFTER a successful 'add': do NOT just confirm and stop. Reply by (1) restating the assumed schedule (sessions per period, duration, time of day, start date) in plain language, and (2) asking the user to confirm or correct it — especially any optional fields you did NOT set (duration_minutes, time_of_day). Example: "Logged sauna starting today, assuming once per week. Sound right? About how long do you usually go for, and what time of day — morning, evening?" If the user corrects anything, call this tool again with action='update'. The goal is accurate adherence data, not a silent confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Strategy ID. Required for update, end, delete unless strategy_name is given. | |
| name | No | Strategy name (e.g. 'Box Breathing'). Required for add; on update, sets a new name. | |
| notes | No | Free-text notes. Optional. | |
| action | Yes | What to do. Required. | |
| category | No | Category. Infer from name. | |
| end_date | No | End date (YYYY-MM-DD). Default to today for end action. | |
| start_date | No | Start date (YYYY-MM-DD). Default to today for add. | |
| period_unit | No | Period unit. Default: 'week'. | |
| time_of_day | No | When during the day: ['morning'], ['evening'], etc. Optional. | |
| strategy_name | No | Alternative to id for update/end/delete: strategy name substring, case-insensitive (e.g. "sauna"). | |
| duration_minutes | No | Target minutes per session. Optional. | |
| sessions_per_period | No | Target sessions per period. Default: 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |