http_request
Send authenticated HTTP requests using stored credentials without exposing secrets. Injects auth, substitutes placeholders in URL/headers/body, restricts hosts, and scrubs responses.
Instructions
Make an HTTP request authenticated with a stored credential, without exposing the secret. auth: auto (basic for user+password/user+token e.g. Jenkins; bearer for bare tokens), basic, bearer, none, header:, query:. Placeholders {{km.password}}, {{km.username}}, {{km.token}}, {{km.}} are substituted in url/headers/body. Only hosts registered on the credential are allowed (anti-exfiltration guard). Response body is scrubbed of the secret.
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 | ||
| url | Yes | ||
| auth | No | auto | |
| body | No | ||
| json | No | ||
| method | No | GET | |
| headers | No | ||
| purpose | No | ||
| timeout | No | ||
| allow_any_host | No | ||
| follow_redirects | No |