keel_strategy_pull
Pull the latest strategy version from the server to synchronize local changes. Prevents overwriting uncommitted local work, with an option to force overwrite if needed.
Instructions
Re-fetch the server HEAD into the local working copy. The 'git pull' of the sync model. Refuses if local has uncommitted changes (diverged state) so you don't lose work — push first or pass force=True to overwrite local. Use when you suspect someone (a teammate, the web editor, a fork) updated the strategy while you were working locally. Check keel_strategy_status first to see if a pull is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | No | Strategy to pull. Auto-detected from workspace if omitted. | |
| force | No | Overwrite local changes with server HEAD. LOSES local edits — only use after explicit confirmation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |