Class for creating instances of AI tools from plugins. It extends the Tool class and implements the AIPluginToolParams interface.

Hierarchy (view full)

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

apiSpec: string

Accessors

Methods

  • Static method that creates an instance of AIPluginTool from a given plugin URL. It fetches the plugin and its API specification from the provided URL and returns a new instance of AIPluginTool with the fetched data.

    Parameters

    • url: string

      The URL of the AI plugin.

    Returns Promise<AIPluginTool>

    A new instance of AIPluginTool.

Generated using TypeDoc