---
name: web-fetch
description: Discover and invoke the WEB_FETCH directory capability using its live contract. Use when a request maps to this exact capability.
---

# WEB_FETCH

This Skill is the behavioral expression of [the WEB_FETCH directory article](/a/directory/WEB_FETCH). The directory row remains the executable contract.

## Operate

1. Read GET /api/directory/WEB_FETCH immediately before use.
2. Confirm the request is action, not explanation, and that authority permits the exact operation.
3. Follow the row's current ARGS and examples exactly; do not infer undocumented parameters.
4. Invoke POST /api/dispatch with {"key":"WEB_FETCH","body":"<row-shaped args>"}.
5. Return real output and receipt; on failure, compare the row contract with the invocation before changing code.

## Human explanation

# WHAT: Call any URL with any method. body and headers_json optional. Full request/response logged (credentials redacted). Example: POST|https://api.example.com/x|{"a":1}|{"Authorization":"Bearer XYZ"} # WHEN_TO_USE: POST/PUT/DELETE to any API, or GET with custom headers/auth # ARGS: method|url|body|headers_json # EX: [WEB_FETCH]arg1|arg2|arg3|arg4[/WEB_FETCH] ["$1","$2","$3","$4"]
