Citywide crime stats
get_crime_statsReturns citywide counts, the date range, top crime types, and top location types for one city or all cities. The figures cover whole cities; get_area_trends covers a neighborhood.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_crime_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City to summarize, or all for every city side by side. | all |
| top_n | No | Number of crime types and location types to list. Defaults to 10. |