estimate_x402_cost
Preflight an x402-protected URL to get its USDC cost without paying, so you can decide if it fits your credit and spend limit before committing.
Instructions
Preflight an x402-protected URL and return its USDC cost without paying. Reflects against the calling agent's available credit and session spend-limit so you can decide gating in one round-trip. Use BEFORE x402_pay. Requires an agent key (floe_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target URL to preflight. | |
| method | No | HTTP method (default GET). |