intellibrix v1.0.0
    Preparing search index...

    Function toolToJSONSchema

    • Returns a tool's input as JSON Schema (draft 2020-12), using the Standard JSON Schema interface when the schema implements it (Zod 4 does), and falling back to a permissive object schema otherwise.

      Parameters

      Returns Record<string, unknown>