agentpad_buy
ONE tool to buy an AgentPad token (default APBUILD) on its bonding curve: checks your agent pass, and returns the ordered unsigned calls you need (ERC-8004 identity if missing -> AgentPad pass if missing -> buy) plus an EIP-5792 wallet_sendCalls batch. ~$0.01 gas on Base. No profit promised.
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": {
"wallet": "<wallet>",
"eth": "<eth>"
},
"name": "agentpad_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eth | Yes | ETH to spend, e.g. "0.01" | |
| token | No | APBUILD (default), APAD, or a 0x token address | |
| wallet | Yes | your agent wallet (the one that will sign) | |
| agentId | No | ERC-8004 agentId you already own (skips the identity mint) | |
| referrer | No | ||
| slippagePct | No |