Arize Phoenix TS
    Preparing search index...
    llmProviderToolCallSchema: ZodUnion<
        readonly [
            ZodObject<
                {
                    function: ZodObject<
                        { arguments: ZodString; name: ZodString },
                        $loose,
                    >;
                    id: ZodString;
                    type: ZodPipe<
                        ZodOptional<ZodLiteral<"function">>,
                        ZodTransform<"function", "function" | undefined>,
                    >;
                },
                $strip,
            >,
            ZodObject<
                {
                    id: ZodString;
                    input: ZodType<
                        JSONLiteral,
                        unknown,
                        $ZodTypeInternals<JSONLiteral, unknown>,
                    >;
                    name: ZodString;
                    type: ZodLiteral<"tool_use">;
                },
                $strip,
            >,
            ZodObject<
                {
                    tool_call: ZodObject<
                        {
                            arguments: ZodString;
                            name: ZodString;
                            type: ZodLiteral<"function">;
                        },
                        $strip,
                    >;
                    tool_call_id: ZodString;
                    type: ZodLiteral<"tool_call">;
                },
                $strip,
            >,
            ZodObject<
                {
                    input: ZodType<
                        JSONLiteral,
                        unknown,
                        $ZodTypeInternals<JSONLiteral, unknown>,
                    >;
                    toolCallId: ZodString;
                    toolName: ZodString;
                    type: ZodLiteral<"tool-call">;
                },
                $strip,
            >,
        ],
    > = ...

    Union of all tool call formats

    This is useful for functions that need to accept any tool call format