extract_pdf_text
Extract text from official statement PDFs to pull financials, debt tables, and bond details into Excel. Focuses on downloaded PDF content for analysis.
Instructions
Extract text from a previously-downloaded OS PDF so you can pull financials, debt service tables, obligor financials, rating language, bond purpose, sources-and-uses, etc. into an Excel model. Works best on OS PDFs saved via download_official_statement.
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": {
"path": "<path>"
},
"name": "extract_pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the saved PDF | |
| pages | No | Page range like '1-20' or '45,46,47' (optional — default: all) | |
| max_chars | No | Cap on returned characters to protect context |