Bulk Field Operation
bulk_field_operationApply one field operation (clear, set, prepend, append, wrap) to all matching content pages in a single call, with scope filters and dry-run preview.
Instructions
Apply a single field operation to all matching content pages in one call.
Operations:
clear: set field to empty string
set: replace field value with a fixed string
prepend: add text before existing field value
append: add text after existing field value
wrap: surround existing value with before/after strings
Use scope filters to limit which pages are affected (content_ids, folder_path, template_name, category). Set dry_run: true to preview which pages would be changed without saving. Only live pages are changed: fork copies named in content_ids come back in "skipped" as {id, reason}.
Example: {"operation": "prepend", "field": "disclaimer", "value": "Note: ", "template_name": "Blog Post"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Suffix string for wrap operation | |
| field | Yes | Field name to operate on,required | |
| value | No | Value for set/prepend/append operations | |
| before | No | Prefix string for wrap operation | |
| dry_run | No | Preview affected pages without saving | |
| category | No | Limit to pages in this category | |
| operation | Yes | Operation: clear, set, prepend, append, or wrap,required | |
| content_ids | No | Limit to specific content IDs | |
| folder_path | No | Limit to pages under this path | |
| template_name | No | Limit to pages using this template | |
| version_comment | No | Version comment |