export_fee_data
Query SEC fee disclosures and export results to CSV, selecting from fee history, line items, or XBRL concepts.
Instructions
Query SEC fee data and save it as a CSV file. Three modes: "fee_history" (one row per filing with summary totals), "line_items" (one row per security class across all filings), "ffd_concepts" (one row per ffd: XBRL fact from companyfacts + parsed exhibits). Writes to the specified output_path or defaults to ./_.csv. The CSV text is also returned in structuredContent.csvText so callers can reconstruct the file locally without depending on the server's filesystem.
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>",
"mode": "<mode>"
},
"name": "export_fee_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Export mode: "fee_history" = one row per filing with summary totals; "line_items" = one row per security class across all filings; "ffd_concepts" = one row per ffd: XBRL fact (companyfacts + parsed exhibits) | |
| limit | No | Max filings to fetch (default 10) | |
| company | Yes | Ticker symbol, company name, or CIK number | |
| form_types | No | Filter to specific form types (e.g. ['S-1', 'S-3']) | |
| output_path | No | File path to write the CSV. Defaults to ./<TICKER>_<mode>.csv in the current directory. |