acf_update_post_field
Update a specific Advanced Custom Fields value on a WordPress post by site ID, post ID, and field name; set null to clear the field and detect unchanged values.
Instructions
Update a single ACF field value for a post (updated is false when the value did not change)
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": {
"site": "<site>",
"post_id": "<post_id>",
"field": "<field>"
},
"name": "acf_update_post_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| field | Yes | Field name or key (lowercased by the endpoint) | |
| value | No | New value (required; null clears the field) | |
| post_id | Yes | Post ID |