Route and Call
route_and_callPAID inbound $0.01 USDC to Merchant, then auto-pick and call the best Base x402 API for a natural-language task (Treasury pays upstream; failover on errors). Prefer over call_x402_api when you have a task but no specific tool_name/URL. Prefer over quote_route when you want data now, not a dry-run ranking. economy=cheapest; verified=reliability-scored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON body overrides | |
| task | Yes | Natural-language task, for example "current weather for Boston" | |
| tier | No | Routing tier: "economy" = cheapest first (V3); "verified" = reliability-scored APIs with enough successful history (V4) | |
| query | No | Optional query overrides; defaults to the listing example query | |
| max_attempts | No | How many candidates to try on failure (default 3) | |
| max_price_usd | No | Optional budget for this route (clamped to MAX_PRICE_USD) |