clear_portfolio_history
Permanently delete OctoBot's stored historical portfolio values. Requires explicit confirmation to proceed; without it, the deletion is refused.
Instructions
Permanently clear OctoBot's stored historical portfolio values. 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_portfolio_history ([V],
re-confirmed against source this session -- see this module's
docstring). Returns OctoBot's own JSON body unchanged (NFR-8):
{"title": "Cleared portfolio 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_portfolio_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |