xbrl_fetch_sec_filing
Fetch SEC EDGAR filings by CIK or ticker symbol. Get metadata and optionally load for XBRL analysis.
Instructions
Fetch an SEC EDGAR filing by CIK or ticker symbol.
Finds the specified filing type (10-K, 10-Q, etc.) from SEC EDGAR, returns filing metadata, and optionally loads it for analysis.
Either cik or ticker must be provided. If ticker is provided, it will be resolved to a CIK automatically.
Args: params (FetchSecFilingInput): CIK/ticker and filing type.
Returns: str: JSON with filing metadata and optionally a filing_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |