import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomToolFormat, CustomToolFormat$Outbound } from "./customtoolformat.js"; /** * Custom tool definition: Defines a custom tool by name, with optional description and optional output format constraints. */ export type CustomToolDefinition = { type: "custom"; name: string; description?: string | undefined; format?: CustomToolFormat | undefined; }; /** @internal */ export declare const CustomToolDefinition$inboundSchema: z.ZodType; /** @internal */ export type CustomToolDefinition$Outbound = { type: "custom"; name: string; description?: string | undefined; format?: CustomToolFormat$Outbound | undefined; }; /** @internal */ export declare const CustomToolDefinition$outboundSchema: z.ZodType; export declare function customToolDefinitionToJSON(customToolDefinition: CustomToolDefinition): string; export declare function customToolDefinitionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customtooldefinition.d.ts.map