Record a running strategy
save_active_strategyRecord what you run, so other sessions and clients see it.
START: omit
active_strategy_id; passstrategy_idfor a starter card (its name is used if you omitname) ornamefor a custom one, plussettings(the numbers the user confirmed: amounts, mix, exits, the ask-first flag) andschedulein plain words ('every 4 hours').PAUSE / RESUME / STOP: pass
active_strategy_idandstatuspaused / active / stopped.EDIT: pass
active_strategy_idand only the fields that changed (an empty value clearssettings,scheduleornotes).HEARTBEAT: after each run, pass
active_strategy_idandlast_run_at(now, ISO 8601). At most 20 active or paused per user; stop one to start another. This moves no money and changes no guardrail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name (max 120 chars). | |
| notes | No | Anything to remember (max 1000 chars). | |
| status | No | active, paused or stopped. | |
| schedule | No | How often it runs, in plain words (max 120 chars). | |
| settings | No | The confirmed numbers as a small JSON object (max 8 KB); `{}` clears it. | |
| last_run_at | No | ISO 8601 time of the run just finished, e.g. `2026-10-29T14:00:00Z`. | |
| strategy_id | No | The starter card `id` from list_strategies; omit for a custom strategy. | |
| active_strategy_id | No | Omit to start a new one; an `id` from get_my_active_strategies to update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||