Delete a strategy
acubic_delete_strategyDeletes a draft or paper-money strategy by archiving it together with its saved backtest; it can be restored within 30 days (acubic_restore_strategy). A strategy with a broker connection is removed on acubic.ai. The person is asked to confirm, or the result gives a confirm_token to pass back once they agree. To stop a running backtest use acubic_cancel_backtest.
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": {
"strategy_id": "<strategy_id>"
},
"name": "acubic_delete_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | The language of this conversation. | |
| strategy_id | Yes | The draft or paper-money strategy to delete. | |
| confirm_token | No | For clients without elicitation: the confirm_token from the first call's confirmation_required result, sent once the person agreed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| error | No | ||
| deleted | No | False when the confirmation was declined: nothing changed. | |
| deleted_at | No | ||
| restore_url | No | Signed-in page that restores the strategy; valid for restorable_days. | |
| strategy_id | No | ||
| archived_with | No | What was archived along with the strategy and comes back with a restore. | |
| restorable_days | No |