initiate_agent_purchase
[BUY, Agent Step 1] Get payment instructions for a direct USDC transfer purchase. Use this if you are an AI agent that cannot sign EIP-712 permits.
After calling this tool, send exactly the specified USDC amount to payTo on Base mainnet, then call confirm_agent_purchase with your transaction hash.
PHYSICAL PRODUCTS: the amount includes shipping. Pass the delivery address; if you omit shipping_rate_handle the tool returns the live shipping options (in USDC) for that address instead of payment instructions. Call again with the handle you chose. Pass the same address and handle to confirm_agent_purchase, the server re-quotes them at settlement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | The token ID of the drop to purchase | |
| buyerWallet | Yes | Your wallet address on Base | |
| selected_size | No | For sized products (e.g. sneakers, garments), the size you want to buy (e.g. "10.5", "M"). Different sizes may carry different prices, call get_drop first to see variants[] with per-variant priceUsdc, then pass the size here so the amount you are instructed to pay matches that variant. | |
| shipping_city | No | City (required for physical products) | |
| shipping_name | No | Recipient name (physical products) | |
| selected_color | No | For products with a colour axis (e.g. a filtered showerhead in five finishes), the colourway you want to buy. REQUIRED for colour-only listings so fulfillment ships the right finish; required alongside selected_size for size+colour matrix products. Inspect variants[] from get_drop_details to see available colours. | |
| shipping_phone | No | Phone number for the carrier | |
| shipping_state | No | State / province code (required for US, CA, AU) | |
| shipping_country | No | ISO 3166-1 alpha-2 country code, e.g. "GB" (required for physical products) | |
| shipping_postal_code | No | Postal / ZIP code (required for physical products) | |
| shipping_rate_handle | No | Handle of the shipping option you chose from a previous call. Omit to list the options for the address. | |
| shipping_address_line1 | No | Street address line 1 (required for physical products) | |
| shipping_address_line2 | No | Street address line 2 |