Accept a quote (your choice)
accept_quoteAccepts one quote on one of the person's requests through PolicyVera's own accept, in three calls. First without reachBy: it answers what accepting does, and the person chooses how the insurance agent may reach them (phone call, text message, email: at least one). Then with reachBy and no code: PolicyVera emails the person a code for this accept that names the insurance agent and those ways. Then with personConfirmed: true, the same reachBy and the code as the person reads it out: their reading it out is their yes to those ways. undo_accept reverses 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": {
"requestId": "<requestId>",
"quoteId": "<quoteId>"
},
"name": "accept_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The 6-digit confirmation code PolicyVera emailed the person for this one accept, as they read it out: their yes to those ways. The accept's own code, not a sign-in or account code: it signs nothing in and opens nothing else. | |
| quoteId | Yes | The quoteId from check_quotes. | |
| reachBy | No | How the insurance agent may reach the person, the person's own choice; at least one. Asked before the code is sent: the email names these ways. | |
| requestId | Yes | ||
| personConfirmed | No | true only on the second call, after the person's explicit yes. |