plumaden_purchase
Purchase premium access to a post using automatic x402 wallet payment or a QR code for manual payment, after checking price and user confirmation.
Instructions
Purchase premium access to a post. With a wallet configured, payment is automatic via x402. Without a wallet, returns a QR code for manual payment — then use plumaden_check_payment to verify. Always call plumaden_check_price first and confirm with the user before purchasing.
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": "plumaden_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| slug | No | ||
| asset | No | Optional payment asset symbol (e.g. ALGO, USDC). | |
| max_price | No | Max spend in the payment asset units. Required unless server auto-pay cap is configured. |