Skip to content

default

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:48

  • BaseToolkit

new default(customTools?): GthCustomToolkit

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:52

CustomToolsConfig = {}

GthCustomToolkit

BaseToolkit.constructor

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

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:49

BaseToolkit.tools

buildCustomCommand(commandTemplate, parameters, parameterConfig?): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:135

Build a custom command with parameter interpolation

string

Record<string, string>

Record<string, CustomCommandParameter>

string


getTools(): StructuredToolInterface<ToolInputSchemaBase, any, any>[]

Defined in: _worktrees/docs-release/gaunt-sloth/node_modules/.pnpm/@langchain+core@1.2.3_openai@6.47.0_ws@8.21.1_zod@4.4.3__ws@8.21.1/node_modules/@langchain/core/dist/tools/index.d.ts:155

StructuredToolInterface<ToolInputSchemaBase, any, any>[]

BaseToolkit.getTools


promptUserForValidationOverride(command, toolName, validationError): Promise<boolean>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:180

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

string

string

string

Promise<boolean>


validateParameterValue(paramValue, paramName, allow?): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/tools/GthCustomToolkit.ts:62

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

string

string

ValidationCheck[] = []

string