clear_trades_history
Permanently delete OctoBot's stored trade history after explicit confirmation, preventing accidental data loss.
Instructions
Permanently clear OctoBot's stored trades history. Confirm-gated (ADR-0003).
If confirm is not exactly true, no OctoBot call is made at all --
this returns require_confirmation's structured refusal (a normal
return, not an error) instead.
Once confirmed, maps to POST /api/clear_trades_history ([V],
re-confirmed against source this session -- see this module's
docstring). Returns OctoBot's own JSON body unchanged (NFR-8):
{"title": "Cleared trades history"}.
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": "clear_trades_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |