Remove from Portfolio
remove_from_watchlistRemove one company from one of the person's StockLens portfolios. Call it only when the person has asked for it. Without portfolio_id or portfolio_name it removes from the default portfolio, and the result names the portfolio. Relay the result's message. A status other than removed is an answer, not an error. A holding with recorded transactions is not removed here; the result says where to do it. One ticker per call. It does not trade or delete transactions.
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": "remove_from_watchlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol (e.g. AAPL). Exactly one ticker per call. | |
| exchange | No | Exchange code (e.g. NASDAQ). Optional. When omitted, the ticker is matched against the portfolio; if it is there on more than one exchange you will be asked which. | |
| portfolio_id | No | The id of the portfolio to remove from, as get_portfolio_insights lists it. Optional: without it or portfolio_name the default portfolio is used. | |
| portfolio_name | No | The name of the portfolio to remove from, as the person names it (exact, case does not matter). Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| scope | Yes | ||
| status | Yes | ||
| ticker | No | ||
| message | Yes | ||
| exchange | No | ||
| next_step | No | ||
| is_default | No | ||
| portfolios | No | ||
| portfolio_id | No | ||
| company_count | No | ||
| portfolio_name | No | ||
| portfolio_count | No |