/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 03d25d0a5e59
 */
import * as z from "zod/v4";
import { FunctionT$outboundSchema, } from "./function.js";
/** @internal */
export const Tool$outboundSchema = z.object({
    type: z.literal("function"),
    function: FunctionT$outboundSchema,
});
export function toolToJSON(tool) {
    return JSON.stringify(Tool$outboundSchema.parse(tool));
}
//# sourceMappingURL=tool.js.map