Get metric
get_metricRetrieve quarterly or annual values for a company metric from SEC filings, including source filing, YTD derivation, and restatement flags.
Instructions
Quarterly or annual values of one metric for one company. Each value lists the filings it came from, whether it was derived from year-to-date totals, and whether it was later restated.
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": "<company>",
"metric": "<metric>"
},
"name": "get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest period end date to include. | |
| from | No | Earliest period end date to include. | |
| live | No | Rebuild the values from the SEC now. Falls back to the warehouse if the SEC is unavailable. | |
| limit | No | Return the latest N values in the range. | |
| metric | Yes | ||
| company | Yes | Ticker, CIK, or part of the company name, for example "NVDA". | |
| period_type | No | quarter |