Get x402 payment requirements
get_payment_requirementsReturn the exact x402 payment requirements (price, payTo, asset, network, input schema) for one a-un product, so an x402-capable client can pay and call it. Use before buying. Without an endpoint it returns the requirements of every product.
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": "get_payment_requirements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | Product path, full URL, key or name, e.g. /x402/web-read, https://a-upgradenet.com/x402/memory-health or web.read. Get valid values from list_products. Omit it to get every product. |