get_crime
Retrieve crime counts and categories for a UK postcode from data.police.uk. Optionally specify a month for historical data.
Instructions
Return data.police.uk crime counts and categories for a postcode.
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": {
"postcode": "<postcode>"
},
"name": "get_crime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postcode | Yes | UK postcode. | |
| date | No | Optional reporting month in ``YYYY-MM`` format. Defaults to the latest available month. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||