import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ToolParameter } from "./toolparameter.js"; /** * Type of tool (READ, WRITE) */ export declare const ToolType: { readonly Read: "READ"; readonly Write: "WRITE"; }; /** * Type of tool (READ, WRITE) */ export type ToolType = OpenEnum; export type Tool = { /** * Type of tool (READ, WRITE) */ type?: ToolType | undefined; /** * Unique identifier for the tool */ name?: string | undefined; /** * Human-readable name */ displayName?: string | undefined; /** * LLM friendly description of the tool */ description?: string | undefined; /** * The parameters for the tool. Each key is the name of the parameter and the value is the parameter object. */ parameters?: { [k: string]: ToolParameter; } | undefined; }; /** @internal */ export declare const ToolType$inboundSchema: z.ZodType; /** @internal */ export declare const Tool$inboundSchema: z.ZodType; export declare function toolFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=tool.d.ts.map