compare_stocks
Compare stocks by key metrics: provide comma-separated ticker symbols to get a table of price, market cap, P/E, dividend yield, and returns.
Instructions
Compare key metrics across multiple stocks.
Args: tickers: Comma-separated list of ticker symbols (e.g., 'AAPL,MSFT,GOOGL')
Returns: Comparison table of price, market cap, P/E, dividend yield, and 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_stocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |