compare_stocks
Compare fundamental indicators across multiple stocks side by side. Select tickers and metrics for a clear comparison.
Instructions
Compare fundamental indicators across multiple stocks side by side.
Args: tickers: Comma-separated tickers, 2-5 (e.g. "PETR4,VALE3,ITUB4") metrics: Optional comma-separated metrics to show (e.g. "pl,pvp,roe,dividend_yield"). Available: pl, pvp, ev_ebitda, roe, roa, roic, net_margin, gross_margin, ebitda_margin, dividend_yield, close_price, lpa, vpa, debt_equity, p_sr
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 |
|---|---|---|---|
| metrics | No | ||
| tickers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |