historical_facts_query
Query historical financial facts from filings with restatement-aware views: as reported, latest restated, or as of a specific date.
Instructions
Query locally stored filing facts with restatement-aware semantics.
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": {
"company_id": "<company_id>"
},
"name": "historical_facts_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | latest_restated | |
| as_of | No | ||
| codes | No | ||
| limit | No | ||
| company_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||