gate_fetch
Retrieve URL content and automatically pay HTTP 402 paywalls using prepaid balance or escrow. Returns page data and payment amount, subject to spending caps.
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. |