Delete a portfolio
delete_portfolioDelete a strategy or an account the client owns. Permanent.
What goes depends on the id. A strategy is removed. An account is removed with
its positions, history and attached documents, and any bank link is dropped.
Catalogue strategies, and the people or households above an account, are
refused. Returns a confirmation only; ``list_portfolios`` shows the updated list.
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": {
"portfolio_id": "<portfolio_id>"
},
"name": "delete_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portfolio_id | Yes | A `strategy_id` from list_portfolios. |