openAIToolCallSchema: ZodObject<
    {
        function: ZodObject<
            { arguments: ZodString; name: ZodString },
            "passthrough",
            ZodTypeAny,
            objectOutputType<
                { arguments: ZodString; name: ZodString },
                ZodTypeAny,
                "passthrough",
            >,
            objectInputType<
                { arguments: ZodString; name: ZodString },
                ZodTypeAny,
                "passthrough",
            >,
        >;
        id: ZodString;
        type: ZodEffects<
            ZodOptional<ZodLiteral<"function">>,
            "function",
            undefined | "function",
        >;
    },
    "strip",
    ZodTypeAny,
    {
        function: { arguments: string; name: string } & {
            [k: string]: unknown;
        };
        id: string;
        type: "function";
    },
    {
        function: { arguments: string; name: string } & {
            [k: string]: unknown;
        };
        id: string;
        type?: "function";
    },
> = ...

The schema for an OpenAI tool call, this is what a message that calls a tool looks like

Note: The nested passThrough's are used to allow for extra keys in JSON schema, however, they do not actually allow for extra keys when the zod schema is used for parsing. This is to allow more flexibility for users to define their own tool calls according