Search UK Police Outcomes
ukcrime_search_outcomesList the police outcomes data.police.uk published for one month inside an area — a point with a 1-mile radius, a polygon, a location_id, or a neighbourhood — for crimes recorded that month or any earlier one. Returns the total, counts by crime category, outcome and the month each crime was recorded, and a page of outcomes, each with its crime and persistent_id. category, outcome and street_name_contains narrow the counts and the page together, so filtering one field and reading another's breakdown gives a cross-tab. An outcome's own month can differ from the month searched, and a crime's earlier steps can be missing here: ukcrime_get_crime_outcomes gives one crime's full sequence, and ukcrime_search_crimes the latest outcome of the crimes recorded in a month. Court results are not published; the result says when a force publishes no outcomes.
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": {
"area": "<area>"
},
"name": "ukcrime_search_outcomes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, WGS84 decimal degrees, for area 'point'. | |
| lng | No | Longitude, WGS84 decimal degrees, for area 'point'. | |
| area | Yes | Area to search: 'point' (lat and lng; a 1-mile radius), 'polygon' (polygon), 'location' (location_id), or 'neighbourhood' (force and neighbourhood_id). An area field the chosen area does not use is rejected. | |
| force | No | For area 'neighbourhood', with neighbourhood_id: a force id such as 'leicestershire', or its name such as 'Leicestershire Police' (ukcrime_list_reference topic 'forces' lists both); case-insensitive, spaces, underscores and hyphens match each other, '&' matches 'and', and a trailing 'Police', 'Police Service' or 'Constabulary' is optional. | |
| limit | No | Requested outcomes on this page, 1–10,000; applied cap is at most 200. Default 20. | |
| month | No | Month as YYYY-MM. Omitted: the latest published month, echoed as month in the result. | |
| offset | No | Rows to skip before this page; pass next_offset from the previous result. Default 0. | |
| outcome | No | Police outcome to keep: a code such as 'cautioned' or a name such as 'Offender given a caution', as by_outcome lists them, matched whole, ignoring case, with runs of spaces, underscores and hyphens read alike. Narrows the counts and the page together; a value nothing matches returns zero, and the notice lists the codes present. | |
| polygon | No | For area 'polygon': 3–2,500 vertices as { lat, lng } objects, or the string 'lat,lng:lat,lng:…'. The ring closes itself (the last vertex joins the first). [lng, lat] pairs are not accepted. | |
| category | No | Count only outcomes for crimes in this category: a slug such as 'burglary' or a display name such as 'Violence and sexual offences'; case-insensitive, and spaces, underscores and hyphens match each other ('vehicle_crime' finds 'vehicle-crime'). Omitted or 'all-crime': every category. ukcrime_list_reference topic 'categories' lists them. | |
| location_id | No | For area 'location': location.location_id from an earlier result — one anonymised map point. | |
| neighbourhood_id | No | For area 'neighbourhood', with force: a neighbourhood id from ukcrime_list_reference topic 'neighbourhoods', or from ukcrime_find_neighbourhood for a point. Exact spelling first; after a miss, a unique case-insensitive catalog match is retried. | |
| street_name_contains | No | Words that must all appear in a record's street name, in any order, part of a word included ('Granby St' finds Granby Street) — case, accents and punctuation ignored, and the 'On or near' every street name starts with dropped from both sides, so the value needs a word besides it. A record with no location never matches. Narrows the counts and the page together; when the matches span several street names, the notice names them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Page limit applied. | |
| area | No | The area as the server searched it. | |
| error | No | Present when the call failed. Absent on success. | |
| month | No | The month searched, YYYY-MM; it selects data.police.uk's outcome data published for that month, and each outcome carries its own month. | |
| shown | No | Rows on this page. | |
| total | No | Outcomes matched after category, outcome and street_name_contains. | |
| notice | No | Defaulted month, coverage gaps, why a result is empty, and how to page on. | |
| outcome | No | The outcome value as sent; present only when it was given. | |
| category | No | The crime category counted; absent when every category was (no category, or 'all-crime'). | |
| outcomes | No | This page of matched outcomes, sorted by the crime's month, newest first, then crime id. | |
| data_note | No | What these records can and cannot say; read it first. | |
| truncated | No | True when more rows remain after this page. | |
| by_outcome | No | Matched outcomes by outcome, most first. | |
| attribution | No | Open Government Licence attribution. | |
| by_category | No | Matched outcomes by crime category, most first, then category in code-unit order. | |
| next_offset | No | Pass as offset for the next page; absent on the last page. | |
| by_crime_month | No | Matched outcomes by the month their crime was recorded, newest first. | |
| unfiltered_total | No | Outcomes in the area for the month searched, before category, outcome and street_name_contains. | |
| street_name_contains | No | The street_name_contains value as sent; present only when it was given. |