From 681ea9d0b3b89bec1ad8c57ef79ae2d4d82ef49b Mon Sep 17 00:00:00 2001 From: Igor Soarez Date: Wed, 5 Aug 2026 13:42:46 +0100 Subject: docs(readpage): flag SPA-shell results so models don't trust them as the page --- src/domains/readpage/read-page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/domains/readpage/read-page.ts b/src/domains/readpage/read-page.ts index 744a5ce..9291614 100644 --- a/src/domains/readpage/read-page.ts +++ b/src/domains/readpage/read-page.ts @@ -158,7 +158,7 @@ export const readPageTool = defineBrowserTool({ promptSnippet: "Read a page's main content as clean text", promptGuidelines: [ "Returns readable main-article text — use this over browser_snapshot/browser_execute_js when you want an article's content for reading or research.", - "Boilerplate-heavy or structure-less pages fall back to bounded body text rather than erroring.", + "If the result is short or reads like a nav shell (e.g. JS-rendered social pages like X, login-walled pages), extraction likely ran before the app rendered or missed the content — do NOT treat the shell as the page. Re-read via og:title/og:description, or use browser_execute_js with an article/content selector.", ], parameters: ReadPageArgs, concurrency: "parallel", -- cgit v1.2.3