fetch-text
Extract text content from URLs using HTTP methods, converting HTML to Markdown format for readable output.
Instructions
Fetch text content from a URL using various HTTP methods. Defaults to converting HTML to Markdown format.
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-text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to get text content from | |
| data | No | Request body data for POST/PUT/PATCH requests. Can be a JSON object or string. | |
| method | No | HTTP method to use (GET, POST, PUT, DELETE, PATCH, etc.). Default is GET. | GET |
| headers | No | Additional HTTP headers to include in the request | |
| output_format | No | Output format: 'markdown' (default), 'clean_text', or 'raw_html'. | markdown |