Browse Filing Facets
list_filing_facetsBrowse what filings exist in a date window (at most 31 days) without downloading.
``from_date``/``to_date`` accept YYYY-MM-DD or DD/MM/YYYY. Returns counts of the
categories (headline categories), document types, and stock codes present in the window,
each sorted by frequency and capped at 50 values, plus the distinct counts. Optionally
narrow to one ``stock_code``. Use this to discover valid filter values before calling
search_filings; it fetches the window once and extracts no document text.
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": {
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "list_filing_facets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | Yes | YYYY-MM-DD or DD/MM/YYYY | |
| from_date | Yes | YYYY-MM-DD or DD/MM/YYYY | |
| stock_code | No | Optional exact HKEx stock code to narrow the facets | |
| max_results | No | Maximum filings to scan (default 50, cap 200) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Counts of the window's categories, document types, and stock codes. |