/** * @fileoverview `brapi_find_variants` — find variant records by variant set, * reference, or genomic region. Standard find_* pattern — distributions + * dataframe spillover. Note: the BrAPI filter catalog uses `start` / `end` as * single scalars (1-based inclusive / exclusive) per the spec. * * @module mcp-server/tools/definitions/brapi-find-variants.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiFindVariants: import("@cyanheads/mcp-ts-core").ToolDefinition; variantSets: z.ZodOptional>; variants: z.ZodOptional>; references: z.ZodOptional>; referenceName: z.ZodOptional; start: z.ZodOptional; end: z.ZodOptional; loadLimit: z.ZodOptional; extraFilters: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; results: z.ZodArray>>; variantSetDbId: z.ZodOptional, z.ZodNull]>>; variantSetDbIds: z.ZodOptional>>; variantType: z.ZodOptional>; referenceBases: z.ZodOptional>; alternateBases: z.ZodOptional>>; referenceName: z.ZodOptional>; start: z.ZodOptional>; end: z.ZodOptional>; filtersPassed: z.ZodOptional>; filtersApplied: z.ZodOptional>; filtersFailed: z.ZodOptional>>; }, z.core.$loose>>; hasMore: z.ZodBoolean; distributions: z.ZodObject<{ variantType: z.ZodRecord; referenceName: z.ZodRecord; variantSetDbId: 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_variants."; }, { 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 variants, variantSets, references, or referenceName + start/end — 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-variants.tool.d.ts.map