You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/service/agent/tools/tab_tools.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ import { extractHtmlWithSelectors } from "@App/app/service/offscreen/client";
8
8
constGET_TAB_CONTENT_DEFINITION: ToolDefinition={
9
9
name: "get_tab_content",
10
10
description:
11
-
"Read the rendered content of a browser tab. Returns cleaned markdown with CSS selector annotations for key elements. "+
12
-
"Use selector to extract specific sections. Use prompt to have the LLM summarize/extract specific information from the content.",
11
+
"Read the text content of a browser tab as cleaned markdown. Best for reading articles, extracting text, or summarizing page content. "+
12
+
"Use selector to extract specific sections. Use prompt to have the LLM summarize/extract specific information. "+
13
+
"NOTE: If you need to locate interactive elements (buttons, inputs, links) for clicking or form-filling, use the browser_action tool from the browser-automation skill instead — it returns element selectors optimized for DOM operations.",
0 commit comments