xbrl_smart_summary
Generate a compact JSON summary of an XBRL financial filing, including company info, key metrics, period comparisons, and notable items, for efficient LLM context use.
Instructions
Generate an LLM-optimized structured summary of a filing.
Returns a compact (<4K tokens) JSON with company info, key metrics, period comparisons, and notable items. Designed for efficient use of LLM context windows.
Args: params: Filing ID and focus area.
Returns: str: Compact JSON summary.
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_smart_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |