Get KPI history
get_kpisQuarterly KPI history calculated from SEC XBRL filings, newest first, in USD: revenue, gross_profit, operating_income, net_income, eps_diluted, operating_cash_flow, capex, free_cash_flow, rd_expense, gross_margin, operating_margin, net_margin (margins in percent, EPS in USD per share). Only SEC filers have it; for other companies use get_quarter. limit is the number of quarters (1-16, default 16).
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": {
"ticker": "<ticker>"
},
"name": "get_kpis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of quarters, 1-16, default 16 | |
| metric | No | One metric, or omit for all | |
| ticker | Yes | Ticker or company name, such as NVDA, Nvidia, BCS or Barclays |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | Yes | ||
| ticker | Yes | ||
| currency | Yes | ||
| quarters | Yes |