Skip to content

Built-in Tool: HTTP

Document ID: TRT-107
File Path: docs/07-tool-runtime/http.md
Version: 1.0.0
Status: Draft
Owner: AI Platform Team
Last Updated: 2026-06-27


The http.request built-in tool lets agents call external REST/HTTP APIs through a controlled egress proxy, with destinations restricted to explicitly granted hosts. It is the most common integration tool.


ToolDescription
http.requestPerform an HTTP request and return the response

// input
{ "method": "GET", "url": "https://api.example.com/orders/123",
"headers": { "Accept": "application/json" }, "timeout_ms": 30000 }
// output
{ "status_code": 200, "headers": { "...": "..." }, "body": "{...}" }

Secrets (e.g. API tokens) are referenced, not inlined: headers.Authorization: "secret://acme/example-token" is resolved at run time.


net:egress:api.example.com (per host)
secret:read:<token-ref> (if auth needed)

Egress is default-deny; each destination host must be granted (network isolation). Wildcard egress is flagged as broad.


  • Requests route through an egress proxy enforcing the allowlist and (for untrusted tools) inspection.
  • DNS is restricted to allowed domains to prevent exfiltration.
  • Response size and timeout are bounded.
  • Auth secrets injected in-memory, never logged (secrets).

GET/HEAD may be cached briefly when the tool declares the call idempotent; non-idempotent methods are never cached (caching rules).


Terminal window
wovyr tools invoke http.request --input '{"method":"GET","url":"https://api.example.com/health"}'

The basis for most plugin integrations (e.g. VPN agent).



VersionDateDescription
1.0.02026-06-27Initial HTTP tool spec