Call x402 API
call_x402_apiPAID inbound $0.01 USDC, then pay and call one specific Bazaar resource by tool_name or full URL (Treasury settles upstream). Prefer over route_and_call when you already know which API to hit. Do not use for open-ended tasks — use route_and_call or quote_route first. Discover names via search_bazaar or list_discovered_apis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tool_name_or_url": "<tool_name_or_url>"
},
"name": "call_x402_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional JSON body | |
| query | No | Optional query parameters | |
| tool_name_or_url | Yes | Registered tool_name or full upstream resource URL |