/** * @fileoverview `brapi_get_germplasm` — fetch a single germplasm with * attributes and direct parents, plus companion counts (studies the * germplasm has appeared in, direct parents, direct descendants) to signal * where to drill next. * * @module mcp-server/tools/definitions/brapi-get-germplasm.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiGetGermplasm: import("@cyanheads/mcp-ts-core").ToolDefinition; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; germplasm: z.ZodObject<{ germplasmDbId: z.ZodString; germplasmName: z.ZodOptional>; 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>; parents: z.ZodArray>; germplasmName: z.ZodOptional>; parentType: z.ZodOptional>; }, z.core.$loose>>; attributes: z.ZodArray>; attributeName: z.ZodOptional>; attributeValue: z.ZodOptional>; determinedDate: z.ZodOptional>; }, z.core.$loose>>; studyCount: z.ZodOptional; directParentCount: z.ZodNumber; directDescendantCount: z.ZodOptional; warnings: z.ZodArray; }, 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_get_germplasm."; }, { readonly reason: "germplasm_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Upstream returned no germplasm record for the requested DbId"; readonly recovery: "Verify the germplasmDbId on the target server, or run brapi_find_germplasm to discover valid IDs."; }], undefined>; //# sourceMappingURL=brapi-get-germplasm.tool.d.ts.map