gate_fetch
Fetches URLs behind x402 paywalls, automatically paying with agent wallet. Returns page content and payment amount; blocks if cost exceeds spending caps. Free for ungated URLs.
Instructions
Fetch a Gate-protected URL, automatically paying the x402 paywall from the agent wallet (prepaid balance preferred, escrow payment otherwise). Returns the page content plus what was paid. Refuses and explains if the price exceeds the per-payment or daily cap. Ungated URLs are fetched normally and cost nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute https:// URL to retrieve. If it answers HTTP 402 the paywall is paid automatically, so check the price with gate_get_price first when the cost matters. |