Extract figures from a document
extract_figuresExtract financial figures from spreadsheets, PDFs, and text with normalized units, periods, and source citations, so AI agents can read financial models accurately.
Instructions
Extract financial figures from a document with units, periods and source locations. Returns recognized financial metrics as tagged, source-grounded figures: the value normalized to its canonical unit, what it means (metric), unit, optional entity/period, a confidence band, whether it was confirmed against the cited cell (bound), and full provenance (asset, sheet, cell, page). This is not a complete inventory of every number.
This is deterministic financial-model reading: header scale ("$M" / "'000"), accounting negatives, period columns (FY2023 vs FY2024) and unit declarations are all honoured, so a percentage is never mis-read as a currency.
Reads spreadsheets (cell-level), PDFs with a text layer (grounded and cited by page), and other text formats deterministically. Scanned pages and images go through vision OCR first, then grounding, and are marked as model reads.
The output is in the figures format analyze_conflicts accepts. Credits: 2
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_figures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | No | An uploaded asset ID from upload_file. Provide this OR asset_url. | |
| asset_url | No | A direct URL to the file (e.g. your own signed storage URL), so the file need not be uploaded to Webcite. Provide this OR asset_id. |