update_paywall
Modify an x402 paywall configuration—such as price, resource URL, active status, or other fields—by paywall ID. Use it to adjust access controls for AI agent payments.
Instructions
Update an x402 paywall configuration. Can change price, resource URL, active status, or any other field.
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": {
"paywall_id": "<paywall_id>"
},
"name": "update_paywall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New paywall name | |
| amount | No | New price in human-readable format (e.g. "0.05") | |
| is_active | No | Enable (true) or disable (false) the paywall | |
| paywall_id | Yes | Paywall ID to update | |
| description | No | New description | |
| resource_url | No | New resource URL | |
| resource_mime | No | New MIME type | |
| token_decimals | No | Token decimals. Read from the paywall itself when omitted |