financials_fill
Pull one line item from a company's filings onto one row of the model, matched to the axis by period: a period holding nothing is filled, one already holding this figure is left alone, and one holding a different figure is reported and left as it is — somebody may have corrected it — unless overwrite. Figures land in the row's actuals by default, which is where a reported figure belongs: the model reconciles to an actual, while the same number typed into an input is a forecast that happens to be right. Set actualsThrough with set_axis first, or the periods are reported instead of written. A span only fills a period of its own length, so a figure that covers several — a reported year on a monthly model — is reported back with the periods it would cover rather than divided across them on its own; spread divides it, and is the analyst's answer to that offer rather than yours to assume. Run again to refresh: it is the same call. The row records the provider, company, line item, frame, range, URL and any split agreed. preview reports what it would do and changes nothing. The result names notYetPulled — the line items this provider answers for this company that the model still has no figures for, grouped by the statement each belongs to, because nothing in a model says what was available and a pull that stops at two of eleven leaves the balance sheet forecasting years the company has already reported. It also names alsoHeldBeside where a level lands on a row with siblings already holding a balance of the same order: the provider's name for a line item is not this model's, and a figure written beside the row that already holds those assets counts them twice — invisibly in the reported years and permanently in the forecast.
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": {
"model": "<model>",
"provider": "<provider>",
"symbol": "<symbol>",
"metric": "<metric>",
"frame": "<frame>",
"from": "<from>",
"to": "<to>",
"row": "<row>"
},
"name": "financials_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Latest period end to take, YYYY-MM-DD. | |
| row | Yes | The row the figures land on, by full name, e.g. `income.revenue`. | |
| from | Yes | Earliest period end to take, YYYY-MM-DD. | |
| into | No | Where they land. `actuals` (the default) is reported history the model reconciles to. `values` seeds an input in the current scenario, which is for a base year an assumption is built from — and is an assumption, not a fact, however it was sourced. `ledger` books each reported period as an *entry* in a table instead, carrying the span it covers: `row` then names a column of a table made with add_ledger and `spans: true`, and the model reads it with LEDGER_PRORATA (which shares each figure across the periods it covers) or LEDGER_LAST (an as-at balance). Prefer it where the model's grain is finer than the company's reporting: the reported figure stays whole and visible, a restatement changes one entry, and the apportionment is a formula a reader can see and change rather than a number written into the actuals. | |
| align | No | Which period a fiscal year belongs to. `period-end` (the default) is the period the span ends in, which is right for a December or September year end. `fiscal-year` is the year the filer itself named, and is for the retailer whose 2024 ends in January 2025. | |
| frame | Yes | How often the figures were published: 'annual', 'half_year' or 'quarterly', and nothing else. Half-yearly is the interim most of the world files — the UK, Australia, much of Europe and Asia — and a US filer's six months to date. It has to match the model's own grain — an annual model takes 'annual', a half-yearly one 'half_year' and a quarterly one 'quarterly', because a period is filled by a span of its own length. Read it off model_overview. Nobody files a month, so a monthly model takes neither on its own: its figures have to be spread across the months they cover, which the analyst agrees to first. | |
| model | Yes | Model uid (`model_…`), from model_list. | |
| quote | No | Answer the price of this pull and what would be held for it, and run nothing. Free. | |
| scale | No | Divide every figure by this before it lands. Filings are in whole currency units and so is this format, so leave it off unless the row genuinely stores millions — number formatting is a separate thing and does not need it. | |
| metric | Yes | A line-item id from financials_providers. | |
| spread | No | Spread each figure across the periods it covers, where it covers whole ones — a reported year over twelve months, a quarter over three. Only with the analyst's agreement: no filing says how a year fell across its months, so the shape is an assumption made in their model, and it is written on the row where a reviewer can see it. Which one this row takes is decided by how its periods combine into a year, because a split is that reading backwards: 'divide' shares a flow out by the length of each period; 'interpolate' writes each reported closing balance on the period it closes and glides between two of them; 'at-end' and 'at-start' state a level only where it was reported and leave the rest blank; 'repeat' holds a rate at its level. **Spread the flows and the balances of one statement the same way**: 'divide' and 'interpolate' are the same assumption — a constant rate per day — so a roll-forward ties month by month and a balance sheet balances in every period, while a balance held flat with 'repeat' breaks both. The result of a refused pull names the one this row takes — pass that, and never another. Preview it, offer it with suggest_changes, and pass it when they say yes. | |
| symbol | Yes | The company's ticker, or a CIK on EDGAR. | |
| combine | No | Add figures shorter than the model's periods into the periods they exactly fill — a year from its two reported halves. Only where every part is there, end to end, and only on a row whose periods add up (a flow): a rate does not add and a balance is not a span. The sum is this importer's arithmetic rather than a filed figure, so it is the analyst's answer to the offer a refused pull makes (combineOffer), never yours to assume; and on an annual model the annual frame is usually the better answer, because the filer published the year. | |
| preview | No | Report what the pull would change and write nothing. | |
| deriveH2 | No | Work out the second half a half-yearly filer never publishes, as the year less the first half — a US filer's second-quarter report prints the six months to date and nothing prints the six after. Each figure it produces is marked derived, and appears in no document — say so if you use it. | |
| deriveQ4 | No | Work out the fourth quarter no US filer publishes, as the year less the three quarters. The figures appear in no document; the row's provenance says so, and so should your reply. | |
| provider | Yes | A provider id from financials_providers. | |
| overwrite | No | Take the filing's figure where the row already holds a different one. Default false; say why when you set it. |