> For the complete documentation index, see [llms.txt](https://docs.insuraviews.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.insuraviews.com/ai-integrations/data-connector/tools-reference.md).

# Tools Reference

The tools the Insuraviews Data Connector exposes to your AI assistant.

Your AI assistant chooses these tools automatically based on your question. You don't need to call them yourself, but knowing what they do helps you ask better questions. Every tool is read-only.

| Tool             | What it does                                                                                                  | Good for                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| `search_filings` | Finds filings by keyword, carrier, company, state, line of business, filing type, disposition, and date.      | "Find homeowners rate filings from Allstate in Texas this year." |
| `count_filings`  | Counts filings in total or grouped by state, year, month, carrier, company, line of business, or disposition. | Trends, market share of filings, and "which carriers file most." |
| `get_filing`     | Returns one filing's details: companies, dates, disposition, rate impact, and its attachments.                | Reading a specific filing in depth.                              |
| `get_attachment` | Returns the text of a filing attachment, such as a rate manual, form, or actuarial memorandum.                | Checking exact wording, definitions, and numbers.                |
| `resolve_entity` | Matches names and filter values (carriers, companies, lines, states) to Insuraviews records.                  | Disambiguating similar company names.                            |

### Citations

Every filing the assistant mentions links to the full filing in the Insuraviews app, for example <https://app.insuraviews.com/filings/PRGS-135049001>, so you can verify it.

### Limits

* `search_filings` returns up to 25 filings per call. The assistant pages through for more.
* `get_attachment` returns up to 25 pages (about 40,000 characters) per call.
* Long text fields are cut at 12,000 characters and marked `[truncated]`.
* Broad counts across all states and years may time out. Narrow by state, line, or date range.

When an answer rests on a partial read, the assistant is instructed to say so.

### AI-written summaries

Some filings and attachments include AI-generated summaries. The assistant marks anything taken from a summary and checks specific facts against the attachment text before stating them.

### Tips for better answers

* Name the state, line of business, and date range when you can.
* Mention **Insuraviews** in your prompt to make sure the assistant uses the connector.
* For exact language, ask the assistant to quote the attachment and give the page.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.insuraviews.com/ai-integrations/data-connector/tools-reference.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
