http_request
Perform HTTP requests (GET, POST, PUT, DELETE) to call REST APIs, download files, or send data with headers and body support.
Instructions
Perform a generic HTTP request (GET, POST, PUT, DELETE, etc) for APIs or raw data.
Use this tool when:
You need to call a REST API (JSON/XML)
You need to use HTTP methods other than GET (POST, PUT, DELETE)
You want to download a raw file without rendering (PDF, Image, etc)
Note: For GET requests to renderable web pages, prefer fetch_page which handles dynamic content and JavaScript.
Protocol:
Start: Provide url (required) → returns transfer_id + first chunk
Continue: Provide transfer_id + offset → returns next chunk
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| method | No | GET | |
| headers | No | ||
| query | No | ||
| body | No | ||
| json_body | No | ||
| timeout_ms | No | ||
| to_markdown | No | ||
| chunk_bytes | No | ||
| transfer_id | No | ||
| offset | No |