text
Extract the text content of the first element matching a CSS selector. Use to read text from any page element, with the body as default.
Instructions
Get the textContent of the FIRST element matching the selector (default: body). Note: on Wikipedia/MDN/news sites, the first is often a hatnote or image caption, not the lead paragraph — prefer text_main for reading the page's primary content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector (default: body) |