bulk_field_operation
Apply field operations like clear, set, prepend, append, or wrap to multiple content pages simultaneously using scope filters and preview changes with dry run.
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.
Example: {"operation": "prepend", "field": "disclaimer", "value": "Note: ", "template_name": "Blog Post"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Suffix string for wrap operation | |
| before | No | Prefix string for wrap operation | |
| category | No | Limit to pages in this category | |
| content_ids | No | Limit to specific content IDs | |
| dry_run | No | Preview affected pages without saving | |
| field | Yes | Field name to operate on,required | |
| folder_path | No | Limit to pages under this path | |
| operation | Yes | Operation: clear, set, prepend, append, or wrap,required | |
| template_name | No | Limit to pages using this template | |
| value | No | Value for set/prepend/append operations | |
| version_comment | No | Version comment |