Get an SEC filing document's text
get_filing_documentThe text of one SEC filing document, fetched from the EDGAR archive by accession number (get it from get_filings). Omit file for the primary document (the 10-K, 8-K, Form 4...), or pass an exhibit filename. HTML is converted to plain text and returned in pages of max_chars; call again with offset = next_offset for the rest. Text documents only (HTML, XML, TXT).
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": {
"accession": "<accession>"
},
"name": "get_filing_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | Company CIK. Needed when an agent or insider submitted the filing (Form 4, Form 144, many 8-Ks); get_filings returns it. | |
| file | No | Document filename within the filing; omit for the primary document. | |
| offset | No | Character offset to start from (default 0). | |
| accession | Yes | Accession number, e.g. '0000320193-26-000026'. | |
| max_chars | No | Characters per page, 1,000-200,000 (default 40,000). |