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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |