Read a quote's PDF
get_quote_documentReturns the carrier document an insurance agent attached to a quote, through PolicyVera's own download: the text PolicyVera reads out of a PDF, in the reply, and, when it fits, the file itself as a resource for apps that show files. requestId and quoteId come from check_quotes, which also lists each quote's documents; documentId picks one when a quote has more than one. A quote with no document answers that its fields are in check_quotes.
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": {
"requestId": "<requestId>",
"quoteId": "<quoteId>"
},
"name": "get_quote_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | The quote's id, from check_quotes. | |
| requestId | Yes | The quote request's id, from check_quotes. | |
| documentId | No | One of the quote's documents; omit when it has one. |