extract_webpage_text
Token-efficient extractor that returns ONLY clean plain text and core metadata from a public webpage or PDF (omits Markdown formatting, links array, and raw HTML). Use when you only need plain readable text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "extract_webpage_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP or HTTPS URL of a webpage or PDF to extract plain text from. | |
| max_chars | No | Maximum characters returned for content. | |
| force_browser | No | Start with browser rendering instead of fast HTTP retrieval. | |
| only_main_content | No | Extract only main article/content (strips nav, footer, aside). |