Delete a strategy (soft delete)
delete_strategySoft-deletes a strategy so it no longer appears in lists or can be used for backtests. Data is preserved in the database for compliance. Two-phase operation: call without confirm (or confirm=false) to preview what will be affected. Call with confirm=true to execute the deletion. Refuses if the strategy has active deployments (stop them first).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually delete. Default false returns a preview of what will be affected. | |
| strategyId | No | The Strategy entity ID | |
| aiStrategyId | No | The AiStrategy entity ID |