fetch_url
Retrieve web content from any URL and convert it into text format. Ideal for accessing HTML, plain text, and other text-based resources directly for processing or analysis.
Instructions
Fetch content from a URL and return it as text.
This tool allows Claude to retrieve content from any accessible web URL.
The content is returned as text, making it suitable for HTML, plain text,
and other text-based content types.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headers | No | Additional headers to send with the request | |
timeout | No | Request timeout in seconds | |
url | Yes | The URL to fetch |
Input Schema (JSON Schema)
{
"properties": {
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Additional headers to send with the request",
"title": "Headers"
},
"timeout": {
"default": 10,
"description": "Request timeout in seconds",
"title": "Timeout",
"type": "integer"
},
"url": {
"description": "The URL to fetch",
"format": "uri",
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "fetch_urlArguments",
"type": "object"
}