xbrl_extract_text
Extract human-readable text from XBRL filing sections like MD&A, risk factors, or financial statements for qualitative analysis.
Instructions
Extract clean text from a specific section of a loaded filing.
Sections: 'mda' (Management Discussion & Analysis), 'risk_factors', 'financial_statements', 'notes', 'controls', 'legal', 'cover', 'all'.
This extracts the actual human-readable text from the iXBRL/HTML document, not just XBRL-tagged data points. Useful for MD&A analysis, risk assessment, and qualitative content extraction.
Args: params: Filing ID, section name, and max characters.
Returns: str: Clean text content from the requested section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |