diff options
| author | Igor Soarez <igor@soarez.org> | 2026-08-05 13:42:46 +0100 |
|---|---|---|
| committer | Igor Soarez <igor@soarez.org> | 2026-10-14 12:19:26 +0100 |
| commit | 681ea9d0b3b89bec1ad8c57ef79ae2d4d82ef49b (patch) | |
| tree | 6aee901bedca763e09f53e2778b5a7d50d1f3028 /src | |
| parent | cdcfb137a83d178d0d22df0eb97aae768e8abf9c (diff) | |
docs(readpage): flag SPA-shell results so models don't trust them as the page
Diffstat (limited to 'src')
| -rw-r--r-- | src/domains/readpage/read-page.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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", |
