Skip to content

Commit 69a1d64

Browse files
committed
address code review comment
1 parent 5528ee2 commit 69a1d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ server.registerTool(
436436
server.registerTool(
437437
"take_screenshot",
438438
{
439-
description: "captures a screenshot of the current page. Prefer using the accessibility://current resource for understanding page content. Use get_element_attribute or execute_script to verify element state. Only use screenshots when visual layout or styling needs to be verified.",
439+
description: "captures a screenshot of the current page. Prefer using the accessibility://current resource for understanding page content. Use get_element_text, get_element_attribute, or execute_script to verify element state. Only use screenshots when visual layout or styling needs to be verified.",
440440
inputSchema: {
441441
outputPath: z.string().optional().describe("Optional path where to save the screenshot. If not provided, returns an image/png content block.")
442442
}

0 commit comments

Comments
 (0)