Licensed insurance agents for your state and coverage
list_agentsLists licensed insurance agents who quote at least one of the coverage types in the person's state, in PolicyVera's own order, not a ranking, each with their agency, their license number for the person's state (license), their National Producer Number, or NPN (npn), and the languages they speak besides English (speaks). With the person's ZIP each insurance agent carries its distance; nearestFirst is PolicyVera's own nearest-first order. The list comes a page at a time (page, pages and total in the reply). Google's rating and review count are not in the list. The list can be sorted or filtered on distance, the states an insurance agent is licensed in, and time to first quote. When the person asked for several coverage types, each insurance agent carries quotesOfYourLines and, when they do not quote them all, lineGap: PolicyVera's own sentence for it.
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": {
"lines": "<lines>"
},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | The person's ZIP, when they gave it: each insurance agent then carries its distance, and the list can be nearest first. | |
| page | No | ||
| lines | Yes | ||
| state | No | The state of the home being insured (or where the vehicle is garaged). Leave it out to use the state where PolicyVera has the person living; give the home's state when the home is elsewhere. | |
| nearestFirst | No | true when the person asks for the closest insurance agents: PolicyVera's own nearest-first order. | |
| zipConfirmed | No | Only after this door asked about the ZIP and the person said it is right. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| page | No | ||
| said | No | ||
| basis | No | ||
| order | No | ||
| pages | No | ||
| state | No | ||
| total | Yes | ||
| agents | Yes | ||
| groups | No | ||
| linesNote | No | ||
| stateFrom | No | ||
| groupsNote | No | ||
| locationNote | No | ||
| measuredFrom | No | ||
| locationRequired | No |