diff options
Diffstat (limited to 'packages/cli/src/tools/tools.ts')
| -rw-r--r-- | packages/cli/src/tools/tools.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/tools/tools.ts b/packages/cli/src/tools/tools.ts index 9df90261..dcbd71ac 100644 --- a/packages/cli/src/tools/tools.ts +++ b/packages/cli/src/tools/tools.ts @@ -33,7 +33,7 @@ export interface Tool< * @param params Parameters to validate * @returns An error message string if invalid, null otherwise */ - invalidParams(params: TParams): string | null; + validateToolParams(params: TParams): string | null; /** * Gets a pre-execution description of the tool operation @@ -99,7 +99,7 @@ export abstract class BaseTool< * @param params Parameters to validate * @returns An error message string if invalid, null otherwise */ - invalidParams(params: TParams): string | null { + 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; |
