Gaunt Sloth Assistant - v1.4.0
    Preparing search index...

    Hierarchy

    • BaseToolkit
      • default
    Index

    Constructors

    Properties

    tools: StructuredToolInterface<ToolInputSchemaBase, any, any>[]

    Methods

    • Build a custom command with parameter interpolation

      Parameters

      • commandTemplate: string
      • parameters: Record<string, string>
      • OptionalparameterConfig: Record<string, CustomCommandParameter>

      Returns string

    • Returns StructuredToolInterface<ToolInputSchemaBase, any, any>[]

    • Prompt the user to confirm execution of a command that failed validation. Returns true if the user confirms, false otherwise.

      Parameters

      • command: string
      • toolName: string
      • validationError: string

      Returns Promise<boolean>

    • Validate parameter value to prevent security issues. Checks can be selectively skipped via the allow list.

      Parameters

      Returns string