Match policies to answers
match_policiesFilters UK policies by the answers given. Returns a short factual answer (dated, with the criteria in words), the policies that match (alphabetical) with their key facts cited to the insurer's wording, askTheInsurer (policies the documents can't confirm either way, with what to ask), every removed policy with its reasons, notices that apply, example prices with their basis, warnings for any answer that was ignored, and fullBreakdown: a link to enoughcover's checker pre-filled with the same answers. Amount answers (minimum limits) are thresholds the user chooses: ask for one or leave it at 0 (no minimum), never pick one for them.
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": {
"line": "<line>"
},
"name": "match_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Insurance line id: climbing | |
| check | No | Optional: cover items or sub-limits to check, comma-separated, as in the checker's link: item:<id> or sub:<id> (is_covered names them). Add >=<amount> for a minimum limit the user chose (e.g. sub:phones>=500, and +addons to count cover that is only a paid add-on): it then filters like an amount answer. Never pick an amount for the user. | |
| detail | No | summary (default): key facts, terms to check and prices per match. full: also every checked value and catch, each cited. | summary |
| answers | No | Question id to answer (get_questions lists them). Lists may be arrays or comma-separated strings. Omitted questions use defaults; unknown ids come back in warnings. Example for climbing: {"activities":["sport"],"region":"europe","tripDays":14} |