diff --git a/src/tools/base.ts b/src/tools/base.ts index eeed3310..ee6b1722 100644 --- a/src/tools/base.ts +++ b/src/tools/base.ts @@ -177,7 +177,7 @@ export abstract class Tool< abstract description: string; public readonly cache: BaseCache>; - protected readonly options: TOptions; + public readonly options: TOptions; public readonly emitter = Emitter.root.child, TOutput>>({ namespace: ["tool"], @@ -400,10 +400,10 @@ export class DynamicTool< declare name: string; declare description: string; - private readonly _inputSchema: AnyToolSchemaLike; + private readonly _inputSchema: TInputSchema; private readonly handler; - inputSchema() { + inputSchema(): TInputSchema { return this._inputSchema; }