fetch_edgar_filing_on_demand
Fetch one US SEC 10-K or 10-Q directly from EDGAR as a transient last resort, only when search_filing_content (same company and year) returned nothing because the filing text is not indexed, and the question needs the filing text (a quote, a risk-factor paragraph). Never loop it over years (rate limit: 15/hour global, 3/hour per company). Not for numbers (use get_company_financials / get_financial_statement), not for 8-Ks (use company_events), not for Nordic filings. The result is not stored; a repeat call costs another slot.
Args: company: Name, ticker or CIK of a US filer. year: Calendar year the reporting period ended in. form_type: "10-K" (default) or "10-Q"; no other forms. quarter: Required for 10-Q: the CALENDAR quarter the period ends in (1 = Feb-Apr, 2 = May-Jul, 3 = Aug-Oct, 4 = Nov-Dec), not the fiscal label; Apple's fiscal Q1 (ends late December) is 4. query: Optional keywords; returns only sections containing them. Prefer it to keep the response small.
Returns company, filing (accession_number, form_type,
filing_date, report_date, primary_document_url), sections[]
(item_number, item_title, text) and meta (rate limits remaining,
note). Failures return error (rate_limit_global, rate_limit_company,
filing_not_found, unsupported_form_type, quarter_required_for_10q,
not_a_us_filer, edgar_fetch_failed, ...) and detail.
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": {
"company": "<company>",
"year": "<year>"
},
"name": "fetch_edgar_filing_on_demand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| query | No | ||
| company | Yes | ||
| quarter | No | ||
| form_type | No | 10-K |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||