portfolio_remove_position
Remove shares from a stock position in your portfolio. Specify the number of shares to remove or leave blank to delete the entire position.
Instructions
Remove shares from a position in your portfolio.
This tool removes some or all shares of a stock from your portfolio. If no share count is specified, the entire position is removed.
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": {
"ticker": "<ticker>"
},
"name": "portfolio_remove_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol | |
| shares | No | Number of shares to remove (None = remove entire position) | |
| user_id | No | User identifier (defaults to "default") | default |
| portfolio_name | No | Portfolio name (defaults to "My Portfolio") | My Portfolio |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||