Implements

Constructors

Properties

Methods

Constructors

  • Create a Tool instance. Instead of creating an instance in new mode, use create to create an instance.

    Parameters

    • Optionaloptions: Options

      Create a Tool instance with the specified options.

    Returns Tool

    const tool = await Tool.create();
    

Properties

options: Options

Methods

  • Create a Tool instance.

    Parameters

    • Optionaloptions: Options

      Create a Tool instance with the specified options.

    Returns Promise<Tool>

    Returns a Tool instance.