list_portfolios
Retrieve a list of all stored portfolios with summary metrics like Sharpe ratio. Quickly assess portfolio performance and metadata in one view.
Instructions
List all stored portfolios with summary information.
Returns a list of all portfolios in the store with their key metrics and metadata.
Returns: Dictionary containing: - portfolios: List of portfolio summaries - count: Number of portfolios
Example:
result = list_portfolios() for pf in result['portfolios']: print(f"{pf['name']}: Sharpe={pf['metrics']['sharpe']:.2f}")
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": "list_portfolios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||