/** * @fileoverview `brapi_find_locations` — find research stations / field sites * by country, abbreviation, type, or free-text. Supports a client-side bbox * filter (minLat/maxLat/minLon/maxLon) applied after the initial page load, * since BrAPI doesn't define a spec-level bounding-box filter. Standard * find_* pattern: distributions + dataframe spillover. * * @module mcp-server/tools/definitions/brapi-find-locations.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiFindLocations: import("@cyanheads/mcp-ts-core").ToolDefinition; locations: z.ZodOptional>; locationNames: z.ZodOptional>; countryCodes: z.ZodOptional>; locationTypes: z.ZodOptional>; abbreviations: z.ZodOptional>; bbox: z.ZodOptional; maxLat: z.ZodOptional; minLon: z.ZodOptional; maxLon: z.ZodOptional; }, z.core.$strip>>; loadLimit: z.ZodOptional; extraFilters: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; results: z.ZodArray>; abbreviation: z.ZodOptional>; countryCode: z.ZodOptional>; countryName: z.ZodOptional>; locationType: z.ZodOptional>; latitude: z.ZodOptional>; longitude: z.ZodOptional>; altitude: z.ZodOptional>; coordinates: z.ZodOptional>>; instituteName: z.ZodOptional>; instituteAddress: z.ZodOptional>; documentationURL: z.ZodOptional>; }, z.core.$loose>>; hasMore: z.ZodBoolean; distributions: z.ZodObject<{ countryCode: z.ZodRecord; locationType: z.ZodRecord; }, z.core.$strip>; dataframe: z.ZodOptional; columnLegend: z.ZodOptional>; createdAt: z.ZodString; expiresAt: z.ZodString; truncated: z.ZodOptional; maxRows: z.ZodOptional; totalCount: z.ZodOptional; }, z.core.$strip>>; coordinateAxisOrder: z.ZodEnum<{ spec: "spec"; swapped: "swapped"; }>; }, z.core.$strip>, readonly [{ readonly reason: "unknown_alias"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "No connection has been registered under the requested alias"; readonly recovery: "Run brapi_connect with this alias (or omit `alias` to use the default connection) before calling brapi_find_locations."; }, { readonly reason: "all_filters_dropped"; readonly code: JsonRpcErrorCode.ValidationError; readonly when: "The active dialect dropped every filter the agent supplied — the upstream server does not honor any of the requested scope filters on this endpoint, so the call would silently widen to the unfiltered baseline."; readonly recovery: "Drop the unsupported filters and rescope by locations, locationNames, countryCodes, locationTypes, abbreviations, or bbox — these filter paths are honored on the active dialect."; }], { readonly totalCount: z.ZodNumber; readonly returnedCount: z.ZodNumber; readonly appliedFilters: z.ZodRecord; readonly refinementHint: z.ZodOptional; readonly notice: z.ZodOptional; readonly warnings: z.ZodArray; }>; //# sourceMappingURL=brapi-find-locations.tool.d.ts.map