summaryrefslogtreecommitdiff
path: root/packages/core/src/tools/tools.ts
diff options
context:
space:
mode:
authorRichie Foreman <[email protected]>2025-08-13 16:17:38 -0400
committerGitHub <[email protected]>2025-08-13 20:17:38 +0000
commita90aeb3d8fd05fc6303ce9ef4e957c2e19cbe9c4 (patch)
tree78423cea4d8f3a3f44d0e182b46fdf0a4bc45de0 /packages/core/src/tools/tools.ts
parent8fae227e8d53b962f8b7db3abff51906fad1d181 (diff)
chore(build/compiler): Enable a bunch of strict TS compiler options. (#6138)
Diffstat (limited to 'packages/core/src/tools/tools.ts')
-rw-r--r--packages/core/src/tools/tools.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/core/src/tools/tools.ts b/packages/core/src/tools/tools.ts
index 3e7d0647..00f2a842 100644
--- a/packages/core/src/tools/tools.ts
+++ b/packages/core/src/tools/tools.ts
@@ -284,13 +284,13 @@ export abstract class BaseTool<
* @param parameterSchema JSON Schema defining the parameters
*/
constructor(
- readonly name: string,
- readonly displayName: string,
- readonly description: string,
- readonly kind: Kind,
- readonly parameterSchema: unknown,
- readonly isOutputMarkdown: boolean = true,
- readonly canUpdateOutput: boolean = false,
+ override readonly name: string,
+ override readonly displayName: string,
+ override readonly description: string,
+ override readonly kind: Kind,
+ override readonly parameterSchema: unknown,
+ override readonly isOutputMarkdown: boolean = true,
+ override readonly canUpdateOutput: boolean = false,
) {
super(
name,
@@ -320,7 +320,7 @@ export abstract class BaseTool<
* @returns An error message string if invalid, null otherwise
*/
// eslint-disable-next-line @typescript-eslint/no-unused-vars
- validateToolParams(params: TParams): string | null {
+ override validateToolParams(params: TParams): string | null {
// Implementation would typically use a JSON Schema validator
// This is a placeholder that should be implemented by derived classes
return null;