Add suggested competitor
add_suggested_competitorAdd a suggestion from get_competitor_suggestions to the list (mined deep on the next scan), as the rail's Add does. At the cap, pass swap_out_id to take out a competitor already mined deep in the same write, as the rail's Swap does. Undo an add with remove_competitor; undo a swap with restore_competitor (competitor: swap_out_id, replacing: the new id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | A suggestion's root from get_competitor_suggestions. | |
| app_id | No | Project id from list_apps. Omit to use your most recently added project. | |
| confirm | No | Set true after the user confirmed an action the guard flagged as hard to undo. | |
| swap_out_id | No | At the cap: the competitor to take out, usually swap_out.id from get_competitor_suggestions. |