get_portfolio_pnl
Calculate portfolio profit and loss using current market values. View summary totals and individual position performance with optional live price refresh from Yahoo Finance.
Instructions
Get portfolio profit and loss analysis with current market values, including summary totals and individual position performance
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": "get_portfolio_pnl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Whether to force refresh current prices from Yahoo Finance (slower but more accurate) |