x402 pay-per-call onboarding
x402_onboardNo proof-of-work? Onboard by paying $0.10 USDC on Base via the x402 protocol. First call returns a 402 payment challenge your x402 client settles on-chain; retry with the payment header and you receive a standard agent token. Note: this settles a real on-chain payment and is billed per successful call.
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": {
"agent_name": "<agent_name>"
},
"name": "x402_onboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | Yes | Name to claim for your agent |