Fetch a URL
fetch_urlRetrieve the contents of a public HTTP or HTTPS URL and return the response body as text. Useful for reading web pages, JSON APIs, or other online resources.
Instructions
Fetch the contents of a public http(s) URL and return the response body as text (truncated to a safe length). Useful for reading web pages, JSON APIs, or other public HTTP resources. Only http and https URLs are allowed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The http(s) URL to fetch. | |
| body | No | Optional request body, only used when method is POST. | |
| method | No | HTTP method to use. Defaults to GET. | GET |