Discover SML x402 Gateway
sml_discoverDiscover the SCRIPTMASTERLABS x402 Gateway contract (FREE, read-only). Returns the gateway's job, transport, and canonical payment contract — x402 v2, exact scheme, USDC on Base mainnet (eip155:8453), the canonical payTo, and the PAYMENT-REQUIRED / PAYMENT-SIGNATURE / PAYMENT-RESPONSE headers — plus where to inspect fresh per-route payment requirements before calling a paid route (tools/list on this endpoint, or GET /x402/discover). The gateway never spends for the caller: read the fresh target 402 challenge for the exact price and terms; a challenge or a signature is not settlement proof.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sml_discover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||