/** * @fileoverview FBI LEOKA (Law Enforcement Officers Killed and Assaulted) tool. * Returns officer fatality counts, weapon breakdowns, and circumstance data. * Endpoint: /cde/leoka/ytd?year={year} and /cde/leoka/monthly?year={year}&month={month} * @module mcp-server/tools/definitions/get-leoka.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const fbiGetLeoka: import("@cyanheads/mcp-ts-core").ToolDefinition; year: z.ZodNumber; month: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ period: z.ZodString; year: z.ZodNumber; month: z.ZodOptional; totals: z.ZodObject<{ total_officers: z.ZodOptional>; total_incidents: z.ZodOptional>; total_officers_dod: z.ZodOptional>; total_officers_doi: z.ZodOptional>; total_incidents_dod: z.ZodOptional>; total_incidents_doi: z.ZodOptional>; }, z.core.$strip>; weapons: z.ZodOptional>>; officer_activity: z.ZodOptional>>; deaths_by_year: z.ZodOptional>>>>; deaths_by_region: z.ZodOptional>>>>; lighting_conditions: z.ZodOptional>>; body_armor_worn: z.ZodOptional>>; location_of_attack: z.ZodOptional>>; offender_previously_known_to_agency: z.ZodOptional>>; offender_prior_mental_illness: z.ZodOptional>>; offender_prior_relationship: z.ZodOptional>>; officer_circumstances_time_of_attack: z.ZodOptional>>; officer_incident_type: z.ZodOptional>>; officer_type_of_assignment: z.ZodOptional>>; weather_conditions: z.ZodOptional>>; offender_demographic: z.ZodOptional>>>>; officer_demographic: z.ZodOptional>>>>; officer_death_by_time_of_day: z.ZodOptional>>>>; officer_death_by_month: z.ZodOptional>>>>>>; }, z.core.$strip>, readonly [{ readonly reason: "month_not_applicable"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "period is \"ytd\" but a month was supplied."; readonly recovery: "Omit month for YTD data, or choose period \"monthly\" to apply the month."; }, { readonly reason: "month_required"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "period is \"monthly\" but the month parameter was not provided."; readonly recovery: "Provide a month (1–12) when requesting monthly LEOKA data."; }, { readonly reason: "year_out_of_range"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "year is after the current UTC year."; readonly recovery: "Use a year from 2020 through the current year; current-year data runs through the latest reported month."; readonly thrownBy: "service"; }, { readonly reason: "no_data"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "The API returned no LEOKA data for the requested year/month."; readonly recovery: "CDE LEOKA data starts in 2020 and runs through the latest reported month of the current year; request an earlier month or year within that window."; }], undefined>; //# sourceMappingURL=get-leoka.tool.d.ts.map