The Custom Tool node allows users to integrate custom-created tools within their solutions. It provides a flexible way to incorporate user-defined functionalities into the conversation flow.
The node fetches available custom tools from the database and presents them as options for the user to select.
It initializes the selected tool with the provided configuration, including any custom overrides for the tool’s name, description, schema, and function.
The node supports dynamic variable resolution, allowing the tool to access variables defined in the chatflow.
It creates a DynamicStructuredTool instance that can be used within the chatflow to execute the custom tool’s functionality.