Execute Fetch
execute_fetchFetch a URL. If the resource requires payment via x402, provide your intentMandate and this tool will automatically authorize the payment and retrieve the data. Supports both GET and POST. Can also be used for standard public API fetches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch | |
| body | No | Optional JSON body for POST requests | |
| _meta | No | Internal metadata for transport | |
| method | No | HTTP method | GET |
| intentMandate | No | Optional: Your intent mandate (the SD-JWT-VC encoded token) to automatically pay for x402 protected resources. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The fetched URL | |
| status | Yes | HTTP response status code | |
| content | No | The response body (JSON or text) | |
| receipt | No | Payment receipt if executed | |
| paymentExecuted | Yes | Whether an x402 payment was executed |