text_clean
Extract clean text from web pages by removing chrome, scripts, styles, and whitespace. Returns only the essential content.
Instructions
Return chrome-stripped, JSON-stripped, whitespace-collapsed text from a selector or the best content root. Drops script/style/noscript/svg and page chrome (nav/header/footer/aside) plus obvious hidden widgets and repeated boilerplate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional CSS selector to scope extraction. Default: best content root. | |
| max_chars | No | Optional max characters to return. |