Build proxy connection string
build_proxy_configBuilds ready-to-use proxy URLs or host:port:user:pass lines with location, protocol, and sticky-session targeting; uses env-var password placeholders by default to keep secrets out of code.
Instructions
Build a ready-to-use proxy URL or host:port:user:pass line with targeting, plus code snippets. By default the password is an environment-variable placeholder so secrets never land in code; set password_mode to 'plain' only when the user explicitly wants it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_proxy_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Exit city within the country, e.g. 'New York' (residential/datacenter only). | |
| format | No | url | |
| sticky | No | Generate a random session ID when session is not set. | |
| 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 |
| session | No | Sticky session ID. Reuse it to keep the same exit IP. | |
| protocol | No | http | |
| username | No | Credential to use. Defaults to DOUBLEDATA_PROXY_USERNAME or the first enabled credential of proxy_type. | |
| proxy_type | No | Product to use when no username is given. Defaults to residential. | |
| ttl_minutes | No | Sticky session lifetime, 1-120 minutes. Requires session. | |
| password_mode | No | env |