text
Get the inner content of the first element matched by a CSS selector (default: body). For lead article paragraphs on Wikipedia/MDN, prefer a main-content tool.
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) |