xbrl_get_raw_xml
Retrieve raw XML or HTML content from XBRL filings using XPath queries for advanced extraction when standard tools are insufficient.
Instructions
Access raw XML/HTML content from the filing document.
Allows XPath queries against the document tree. Useful for advanced extraction when other tools don't cover a specific need.
Args: params: Filing ID, optional XPath, max chars.
Returns: str: Raw XML string of matched elements.
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_get_raw_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |