portfolio_clear_portfolio
Clears all stock positions from a specified portfolio. Confirmation is required to avoid accidental loss.
Instructions
Clear all positions from your portfolio.
CAUTION: This removes all positions from the specified portfolio. This action cannot be undone.
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": "portfolio_clear_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User identifier (defaults to "default") | default |
| portfolio_name | No | Portfolio name (defaults to "My Portfolio") | My Portfolio |
| confirm | No | Must be True to confirm deletion (safety check) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||