@outputai/core
    Preparing search index...

    Type Alias CompatibleTool

    CompatibleTool: ToolSet[string] extends infer Tool
        ? Tool extends unknown
            ? {
                [K in keyof Tool]: K extends | "inputSchema"
                | "outputSchema"
                | "contextSchema"
                    ? unknown
                    : Tool[K]
            }
            : never
        : never

    Structurally-compatible AI SDK 7 tool shape.

    This derives from AI SDK's ToolSet and widens only schema fields so tools from packages resolved with a different Zod peer instance remain assignable.