/** * @fileoverview `brapi_find_germplasm` — search germplasm by name, synonym, * accession, attribute, or free text. Matches BrAPI's registered-synonym * semantics. Returns distributions for crop / genus / species / collection * and spills to a dataframe when the upstream total exceeds loadLimit. * * @module mcp-server/tools/definitions/brapi-find-germplasm.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiFindGermplasm: import("@cyanheads/mcp-ts-core").ToolDefinition; names: z.ZodOptional>; germplasmDbIds: z.ZodOptional>; germplasmPUIs: z.ZodOptional>; accessionNumbers: z.ZodOptional>; crops: z.ZodOptional>; synonyms: z.ZodOptional>; collections: z.ZodOptional>; genus: z.ZodOptional; species: z.ZodOptional; text: z.ZodOptional; loadLimit: z.ZodOptional; extraFilters: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; results: z.ZodArray>; germplasmPUI: z.ZodOptional>; commonCropName: z.ZodOptional>; accessionNumber: z.ZodOptional>; genus: z.ZodOptional>; species: z.ZodOptional>; subtaxa: z.ZodOptional>; defaultDisplayName: z.ZodOptional>; pedigree: z.ZodOptional>; biologicalStatusOfAccessionDescription: z.ZodOptional>; germplasmOrigin: z.ZodOptional>>>; countryOfOriginCode: z.ZodOptional>; collection: z.ZodOptional>; instituteCode: z.ZodOptional>; instituteName: z.ZodOptional>; synonyms: z.ZodOptional>; type: z.ZodOptional>; }, z.core.$loose>>>>; }, z.core.$loose>>; hasMore: z.ZodBoolean; distributions: z.ZodObject<{ commonCropName: z.ZodRecord; genus: z.ZodRecord; species: z.ZodRecord; collection: z.ZodRecord; countryOfOriginCode: 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_germplasm."; }, { 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 names, germplasmDbIds, germplasmPUIs, accessionNumbers, crops, synonyms, genus, or species — 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-germplasm.tool.d.ts.map