HTTP request through a VPN
http_requestSend HTTP(S) requests through a named VPN profile's tunnel, auto-connecting if needed, to call internal APIs without changing host routes or joining the VPN.
Instructions
Sends an HTTP(S) request from inside the profile's tunnel (connecting first if needed) and returns status, headers and body. Text bodies come back as utf8, binary as base64; bodies over maxBodyBytes are truncated. Redirects are not followed unless followRedirects is set.
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": {
"profile": "<profile>",
"url": "<url>"
},
"name": "http_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) URL, resolved and fetched inside the tunnel. | |
| body | No | Request body as text. | |
| method | No | GET | |
| headers | No | ||
| profile | Yes | Profile name from list_profiles. Connects automatically if needed. | |
| insecure | No | Skip TLS verification (self-signed internal hosts). | |
| bodyBase64 | No | Request body as base64, for binary payloads. | |
| maxBodyBytes | No | ||
| timeoutSeconds | No | ||
| followRedirects | No |