/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 1dab54ce95e6
 */
import * as z from "zod/v4";
import { FunctionName$outboundSchema, } from "./functionname.js";
/** @internal */
export const ToolChoice$outboundSchema = z.object({
    type: z.string().optional(),
    function: FunctionName$outboundSchema,
});
export function toolChoiceToJSON(toolChoice) {
    return JSON.stringify(ToolChoice$outboundSchema.parse(toolChoice));
}
//# sourceMappingURL=toolchoice.js.map