summaryrefslogtreecommitdiff
path: root/packages/cli/src/tools/tools.ts
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-04-18 14:34:34 -0400
committerN. Taylor Mullen <[email protected]>2025-04-18 14:41:36 -0400
commitabb60a4d1031fb32f6d40e2bbe2b2aca7b1433ee (patch)
tree1f76fbf913a6eeaef21b12bfb63feb719746d939 /packages/cli/src/tools/tools.ts
parent328846c6e31a3957ecb625c2a93fa9a1dce9580c (diff)
Finish manually fixing linter errors for tools dir (partial).
- More changes are to come, this is truly a partial change in order to not disrupt as many people as possible. Part of https://b.corp.google.com/issues/411384603
Diffstat (limited to 'packages/cli/src/tools/tools.ts')
-rw-r--r--packages/cli/src/tools/tools.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/tools/tools.ts b/packages/cli/src/tools/tools.ts
index dcbd71ac..4115ded9 100644
--- a/packages/cli/src/tools/tools.ts
+++ b/packages/cli/src/tools/tools.ts
@@ -99,6 +99,7 @@ export abstract class BaseTool<
* @param params Parameters to validate
* @returns An error message string if invalid, null otherwise
*/
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
validateToolParams(params: TParams): string | null {
// Implementation would typically use a JSON Schema validator
// This is a placeholder that should be implemented by derived classes
@@ -121,6 +122,7 @@ export abstract class BaseTool<
* @returns Whether or not execute should be confirmed by the user.
*/
shouldConfirmExecute(
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
params: TParams,
): Promise<ToolCallConfirmationDetails | false> {
return Promise.resolve(false);