@ainulabs/ainu - v0.0.5
    Preparing search index...

    Function buildTool

    • This function is used to help dynamically build tools for an agent, by wrapping the handler function in a buildToolExecutor to allow for error handling, result formatting, and optional context passing.

      Parameters

      Returns Tool