Send HTTP request through proxy
proxy_requestFetch any HTTP URL through rotating residential, datacenter, or mobile proxies with country, city, and sticky-session targeting; returns status, headers, and body, with optional file save.
Instructions
Fetch a URL through the DoubleData proxy network with optional country/city targeting and sticky sessions. Returns status, key headers and the body (HTML converted to Markdown by default, truncated to a safe size). Use save_to to download the raw response to a file. Consumes proxy traffic.
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": "proxy_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Destination http(s) URL. | |
| body | No | Request body for POST/PUT/PATCH. | |
| city | No | Exit city within the country, e.g. 'New York' (residential/datacenter only). | |
| method | No | GET | |
| country | No | Two-letter exit country, e.g. us, de, gb. | |
| gateway | No | Entry gateway closest to you. It does not choose the exit country. | eu |
| headers | No | Extra request headers. | |
| save_to | No | Save the full response body to this relative path inside the export directory. | |
| session | No | Sticky session ID. Reuse it to keep the same exit IP. | |
| protocol | No | Connection to the proxy: https (port 9999, encrypted) or http (port 7777). | https |
| username | No | Credential to use. Defaults to DOUBLEDATA_PROXY_USERNAME or the first enabled credential of proxy_type. | |
| max_chars | No | Maximum characters of body returned to the agent. | |
| proxy_type | No | Product to use when no username is given. Defaults to residential. | |
| timeout_ms | No | ||
| ttl_minutes | No | Sticky session lifetime, 1-120 minutes. Requires session. | |
| response_format | No | markdown simplifies HTML; text returns the body as-is; raw returns only metadata unless saved. | markdown |