From 4e6532e303a6235355ba5faaf0e1d739ef5bd33f Mon Sep 17 00:00:00 2001 From: kajanl <99794025+kajanl@users.noreply.github.com> Date: Tue, 3 Feb 2026 20:08:31 +0100 Subject: [PATCH 1/2] fix: update evaluateScript description formatting Fix formatting in the description of evaluateScript. --- src/tools/script.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/script.ts b/src/tools/script.ts index de28fe0b4..f3bc3c3c5 100644 --- a/src/tools/script.ts +++ b/src/tools/script.ts @@ -12,8 +12,8 @@ import {defineTool} from './ToolDefinition.js'; export const evaluateScript = defineTool({ name: 'evaluate_script', - description: `Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON -so returned values have to JSON-serializable.`, + description: `Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON, +so returned values have to be JSON-serializable.`, annotations: { category: ToolCategory.DEBUGGING, readOnlyHint: false, From 8e954d8c64abbb348504d1039c6b9141d65ccc9d Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 4 Feb 2026 10:47:01 +0100 Subject: [PATCH 2/2] chore: regen docs --- docs/tool-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tool-reference.md b/docs/tool-reference.md index 13e0a0ff2..04a9db529 100644 --- a/docs/tool-reference.md +++ b/docs/tool-reference.md @@ -292,8 +292,8 @@ ### `evaluate_script` -**Description:** Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON -so returned values have to JSON-serializable. +**Description:** Evaluate a JavaScript function inside the currently selected page. Returns the response as JSON, +so returned values have to be JSON-serializable. **Parameters:**