Update application
jerry_update_applicationSave application facts the customer gave, in their own words. Every field is optional and merges into what's saved, so send only facts that are new or changed.
Items with an id update that driver, car or home; items without one are added. included puts an item on the quote or leaves it off.
Add a car by vin, by licensePlate and licensePlateState, or by year, make and model. Send year, make and model only when there's no VIN or plate, since those set them. A final price needs the VIN.
Answer any other requirement in answers, by its path. A fact that has its own field here comes back rejected as typed_field if it's sent in answers.
coverage and history.currentMonthlyPremiumCents are optional and never block quotes. Send them only when the customer asks for a coverage level or specific coverages, or says what they pay now.
Drivers and cars Jerry found are in the status's suggested list, each with an id that starts with suggested:. Once the customer confirms one, send that id in drivers or vehicles with included: true. Returns the status, with suggested. rejected lists values Jerry didn't save and why: fix the format yourself and send them again, and ask the customer only when the fact itself is missing or wrong. clarify lists values to choose from. The rest of the write is saved either way.
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": {
"intentId": "<intentId>",
"application": "<application>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "jerry_update_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | Where these facts come from; defaults to ['customer']. | |
| intentId | Yes | The shopping intent id returned by an earlier shopping tool. | |
| permission | No | Required once when sources include anything but customer. | |
| provenance | No | Optional. Where this write's facts came from. Jerry doesn't save it. | |
| application | Yes | ||
| idempotencyKey | Yes | Unique key for safely retrying this customer action |