Search a filing document
search_documentFind where one filing document mentions something: every match of query, each with a viewer URL that highlights it, a snippet, and the heading it sits under. Use it for "does X's 10-K mention Y", "where does the proxy talk about Z", or to find the exact sentence before linking it. The query is matched as a phrase first (case, whitespace and curly quotes ignored); if the phrase isn't there and it has two or more words, it returns the paragraphs that contain all of them. Name the filing by accession, or by company plus form for that form's newest filing; with neither form nor accession it searches the newest annual report (10-K, 20-F, 40-F), else the newest 10-Q. No web search or latest_filing call needed first. For a section heading, find_section is better.
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": {
"query": "<query>"
},
"name": "search_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | SEC Central Index Key, padded or not: "1318605" | |
| form | No | Form type, e.g. "10-K", "10-Q", "8-K", "DEF 14A" (case-insensitive; a dash may stand for a space), or "periodic" for 10-K, 10-Q, 20-F and 40-F. Searches that form's newest readable filing. | |
| limit | No | Hits to return, in document order. Default 10. | |
| query | Yes | Words or a phrase to find, e.g. "Shanghai" or "going concern" | |
| offset | No | Skip this many hits, for paging. Default 0. | |
| ticker | No | Exchange ticker, e.g. "TSLA" | |
| company | No | Company name to look up when you don't know the CIK or ticker, e.g. "Anthropic" or "Berkshire Hathaway". The best match is used; the reply names it and lists other matches, so check it is the company you meant. | |
| filename | No | With `accession`: a document inside the filing, e.g. ex21.htm. Omit for the primary document. | |
| accession | No | Search this filing instead (dashed or not, or an EDGAR URL). | |
| amendments | No | With `form`, also consider its amendments (10-K/A with 10-K). |