delete_portfolio
Permanently delete a portfolio and, if force is true, all its holdings, transactions, and cash balances. Without force, deletion is blocked when the portfolio has any data. This action is irreversible — confirm with the user before calling. Obtain portfolioId from get_portfolios.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, also deletes all holdings, transactions, and balances associated with this portfolio. Default: false. | |
| portfolioId | Yes | Portfolio ID to delete (from get_portfolios) |