smart_fetch
Fetch external HTTP resources and automatically handle 402 Payment Required responses by paying invoices via Modexia AgentPay, then retry with proof of payment.
Instructions
Fetch an external resource via HTTP. If the resource responds with a 402 Payment Required and a WWW-Authenticate header, this tool will automatically negotiate and pay the invoice via Modexia AgentPay, then retry the request with the cryptographic proof of payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| method | Yes |