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.
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": {
"params": "<params>"
},
"name": "xbrl_extract_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |