compare_tickers
Compare total returns across multiple tickers over a chosen period (1mo–5y). Failed symbols are reported individually with error details instead of breaking the whole comparison.
Instructions
Compare total returns of multiple tickers over a period.
A symbol that fails is reported with error and error_type instead of failing the whole call.
Args: tickers: List of symbols, e.g. ['AAPL', 'MSFT', 'VOO']. period: Lookback window for the returns.
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": {
"tickers": "<tickers>"
},
"name": "compare_tickers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 3mo | |
| tickers | Yes |