xbrl_search_text
Search the full text of a loaded XBRL filing for a query, returning matching passages with surrounding context to find specific disclosures or statements.
Instructions
Full-text search within a loaded filing's content.
Searches the entire document text (not just XBRL facts) for the query string. Returns matching passages with surrounding context. Useful for finding guidance, forward-looking statements, specific disclosures, etc.
Args: params: Filing ID, search query, context size, max results.
Returns: str: JSON with matching passages and their positions.
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_search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |