Update custom field
update_custom_fieldUpdate an existing Gumroad product custom field by name and set whether it is required; requires explicit per-call confirmation before applying changes.
Instructions
Update custom field. Reviewed native PUT /products/:product_id/custom_fields/:name; scope: edit_products. Requires explicit per-call confirmation.
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": {
"product_id": "<product_id>",
"name": "<name>",
"required": "<required>"
},
"name": "update_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact existing field name; encoded as one URL segment. | |
| account | No | Exact private profile label; never inherited credentials, ownership or scope proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| required | Yes | (true or false) | |
| product_id | Yes | Exact opaque provider ID, including native = padding. |