edgar_get_facts
Get XBRL-structured financial facts for a company (revenue, operating income, net income, cash, assets, etc.). Accepts common-name aliases ('revenue', 'eps') OR XBRL concepts ('Revenues', 'EarningsPerShareDiluted'). Returns one row per (fiscal_year, fiscal_period), preferring latest-filed when amendments exist.
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": {
"concept": "<concept>"
},
"name": "edgar_get_facts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | 10-digit CIK. Provide either ticker OR cik. | |
| ticker | No | Stock ticker, e.g. 'MSFT'. | |
| concept | Yes | Financial concept. Common aliases: 'revenue', 'operating_income', 'net_income', 'cash', 'total_assets', 'total_liabilities', 'eps', 'eps_basic'. Or pass an XBRL us-gaap concept directly (e.g. 'Revenues'). |