fetch_clean_markdown
Fetches a single HTTP(S) page and converts its main content into token-efficient Markdown, with optional JavaScript rendering and a character cap for controlled output.
Instructions
Read one HTTP(S) page and return its main content as token-efficient Markdown.
Enable headless JavaScript rendering with render_js. Set max_chars to cap the Markdown size. Each request uses one daily fetch on the Free plan.
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": "fetch_clean_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_chars | No | ||
| render_js | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||