http_tool
Make HTTP requests (GET, POST, PUT, DELETE, PATCH, HEAD) with JSON body, Bearer/Basic auth, custom headers, timeout, retry with backoff, and file downloads.
Instructions
HTTP client: GET/POST/PUT/DELETE/PATCH/HEAD. Supports JSON body, Bearer/Basic auth, custom headers, timeout, retry with backoff, file download via 'download' path param.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Request URL | |
| auth | No | Authentication configuration | |
| body | No | Request body (will be JSON-serialized if object) | |
| retry | No | Retry configuration | |
| method | Yes | HTTP method | |
| headers | No | Custom request headers | |
| timeout | No | Request timeout in milliseconds (default: 30000) | |
| download | No | File path to save response (for downloads) |