/** * @fileoverview `brapi_find_images` — filter images by observation unit, * study, observation, descriptive ontology, file name, or MIME type. Returns * metadata only; pull bytes via `brapi_get_image`. Materializes the full set * as a dataframe when the upstream total exceeds loadLimit. * * @module mcp-server/tools/definitions/brapi-find-images.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiFindImages: import("@cyanheads/mcp-ts-core").ToolDefinition; images: z.ZodOptional>; observationUnits: z.ZodOptional>; observations: z.ZodOptional>; studies: z.ZodOptional>; imageFileNames: z.ZodOptional>; mimeTypes: z.ZodOptional>; descriptiveOntologyTerms: z.ZodOptional>; loadLimit: z.ZodOptional; extraFilters: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; results: z.ZodArray>; imageFileName: z.ZodOptional>; imageFileSize: z.ZodOptional>>; imageHeight: z.ZodOptional>>; imageWidth: z.ZodOptional>>; mimeType: z.ZodOptional>; imageTimeStamp: z.ZodOptional>; imageURL: z.ZodOptional>; observationUnitDbId: z.ZodOptional>; observationUnitName: z.ZodOptional>; observationDbIds: z.ZodOptional>>; studyDbId: z.ZodOptional>; studyName: z.ZodOptional>; descriptiveOntologyTerms: z.ZodOptional>>; copyright: z.ZodOptional>; description: z.ZodOptional>; }, z.core.$loose>>; hasMore: z.ZodBoolean; distributions: z.ZodObject<{ mimeType: z.ZodRecord; studyName: z.ZodRecord; observationUnitName: z.ZodRecord; descriptiveOntologyTerms: 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>>; }, 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_images."; }, { 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 images, observationUnits, observations, studies, descriptiveOntologyTerms, imageFileNames, or mimeTypes — 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-images.tool.d.ts.map