Get company financials (SEC XBRL)
get_company_financialsReported financial values from SEC EDGAR XBRL company facts. metrics accepts aliases (revenue, net_income, operating_income, gross_profit, eps_basic, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, operating_cash_flow, capex, long_term_debt, shares_outstanding) or raw XBRL concepts like 'us-gaap:Revenues'. Values are exactly as filed; nothing is estimated.
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>",
"metrics": "<metrics>"
},
"name": "get_company_financials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker, e.g. AAPL | |
| metrics | Yes | ||
| periods | No | Number of most recent periods | |
| frequency | No | annual |