fix issue with tool schemas and google

This commit is contained in:
Dax Raad
2025-06-17 11:27:07 -04:00
parent 57b3051024
commit ee91f31313
15 changed files with 82 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ export const WebFetchTool = Tool.define({
.min(0)
.max(MAX_TIMEOUT / 1000)
.describe("Optional timeout in seconds (max 120)")
.nullable(),
.optional(),
}),
async execute(params, ctx) {
// Validate URL