get_portfolio
Retrieve portfolio details including market value, unrealized and realized profit and loss for each position.
Instructions
Portfolio with market value, unrealized and realized PnL per position.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account ID; empty for default account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |