Portfolio Value Calculator
calculatePortfolioValueCalculate total portfolio value by summing the current market value of all stock holdings using symbol and share data.
Instructions
Calculate total value of a portfolio given holdings
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": {
"holdings": "<holdings>"
},
"name": "calculatePortfolioValue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdings | Yes | Array of stock holdings with symbol and shares |