Update custom field
update_custom_fieldModify a custom field in a Beehiiv publication by specifying its ID and new values. Requires confirm=true and write permissions.
Instructions
Update custom field. Changes account state and requires confirm=true for the user-requested action. OAuth integrations require custom_fields:write.
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": {
"publication_id": "<publication_id>",
"custom_field_id": "<custom_field_id>"
},
"name": "update_custom_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| display | No | ||
| payload | No | Complete JSON body instead of individual body flags. Supports nullable fields and nested bulk structures. Cannot be combined with body flags or payload_file. | |
| payload_file | No | Local JSON request body file, at most 5 MB. Contents are validated before the API call and are never logged. | |
| publication_id | Yes | The prefixed ID of the publication object | |
| custom_field_id | Yes | The ID of the Custom Fields object |