http_request
Send authenticated HTTPS requests with automatic credential injection from Keywarden, enforcing allowed hosts and refusing non-HTTPS and redirects.
Instructions
Make an authenticated HTTPS request using a vaulted credential. keywarden attaches the credential itself; you never see it. The destination must be an allowed host for that credential. Redirects are not followed and non-HTTPS is refused.
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": {
"ref": "<ref>",
"url": "<url>"
},
"name": "http_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Credential ref, e.g. "openai/prod". | |
| url | Yes | Absolute https URL, or a path resolved against the provider base URL (e.g. "/v1/models"). | |
| body | No | Request body. An object is JSON-encoded automatically; a string is sent verbatim. | |
| method | No | HTTP method. Defaults to GET. | |
| headers | No | Extra request headers. Auth headers are managed by keywarden and will be rejected here. | |
| timeout_ms | No | Per-request timeout. Default 60000. |