Archive Saved Algorithm
delete_algoArchive a saved algorithm owned by the user. Requires confirm=true. An algorithm linked to a trading instance cannot be archived until it is deactivated, preventing accidental disruption or loss of execution history.
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": {
"algo_id": "<algo_id>",
"confirm": "<confirm>"
},
"name": "delete_algo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo_id | Yes | Saved algorithm ID from list_my_algos. | |
| confirm | Yes | Must be true after the user explicitly confirms archival. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| message | No | ||
| success | No |