/** * @fileoverview `brapi_server_info` — on-demand orientation envelope for the * active (or aliased) connection. Returns the same shape that `brapi_connect` * inlines. Useful for refreshing capability data after a long session or * when switching between registered aliases. * * @module mcp-server/tools/definitions/brapi-server-info.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const brapiServerInfo: import("@cyanheads/mcp-ts-core").ToolDefinition; forceRefresh: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ alias: z.ZodString; baseUrl: z.ZodString; server: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional; organizationName: z.ZodOptional; organizationURL: z.ZodOptional; documentationURL: z.ZodOptional; contactEmail: z.ZodOptional; brapiVersion: z.ZodOptional; }, z.core.$strip>; auth: z.ZodObject<{ mode: z.ZodEnum<{ none: "none"; sgn: "sgn"; oauth2: "oauth2"; api_key: "api_key"; bearer: "bearer"; }>; headerName: z.ZodOptional; expiresAt: z.ZodOptional; }, z.core.$strip>; capabilities: z.ZodObject<{ supportedCount: z.ZodNumber; supported: z.ZodArray; notableGaps: z.ZodArray; }, z.core.$strip>; dialect: z.ZodObject<{ id: z.ZodString; source: z.ZodEnum<{ "env-override": "env-override"; "url-pattern": "url-pattern"; "server-name": "server-name"; "organization-name": "organization-name"; fallback: "fallback"; }>; envVar: z.ZodString; disabledSearchEndpoints: z.ZodArray; notes: z.ZodArray; verifiedMappingCount: z.ZodOptional; inferredMappingCount: z.ZodOptional; }, z.core.$strip>; content: z.ZodObject<{ crops: z.ZodArray; studyCount: z.ZodOptional; germplasmCount: z.ZodOptional; programCount: z.ZodOptional; locationCount: z.ZodOptional; }, z.core.$strip>; attribution: z.ZodOptional; }, z.core.$strip>>; notes: z.ZodArray; fetchedAt: z.ZodString; }, 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_server_info."; }], undefined>; //# sourceMappingURL=brapi-server-info.tool.d.ts.map