Delete strategy
delete_strategyArchives one of your strategies, as Delete does on the website: it turns inactive, stops counting toward the tier limit, and cannot be reactivated here. Use it to retire a strategy; to change one use update_strategy. strategy_id comes from get_my_strategies, which keeps listing the row with active false; repeating the call succeeds, and another account's id reads as not found. A bot already deployed from it keeps running on its own copy. Needs a write-scope key.
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": "delete_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | Yes | Id of your strategy to archive, from get_my_strategies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set only on a failed call (isError true): what went wrong. | |
| archived | No | True: inactive, row kept. | |
| strategy_id | No | The archived strategy. |