Find a council PCN code
search_contravention_codesFind council penalty charge notice contravention codes from plain words, e.g. "disabled bay", "yellow box junction" or "dropped kerb". Returns each code, its description and its charge level; use explain_contravention_code for more.
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": {
"query": "<query>"
},
"name": "search_contravention_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many codes, 1 to 10. Default 5. | |
| query | Yes | What happened or what the sign or marking was, in plain words. |