bulk_action
Execute bulk create, update, delete, publish, or unpublish on multiple content entries with per-entry error handling so individual failures do not abort the entire batch.
Instructions
Execute a bulk operation (create, update, delete, publish, or unpublish) on multiple content entries. Processes each entry sequentially with per-entry error handling so individual failures do not abort the entire batch. Returns a detailed summary showing successes, failures, and error messages for each entry. Use this for batch imports, migrations, or mass status changes.
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": {
"content_type": "<content_type>",
"action": "<action>",
"entries": "<entries>"
},
"name": "bulk_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The bulk operation to perform. Must be one of: 'create', 'update', 'delete', 'publish', or 'unpublish'. Each action expects different entry data formats. | |
| entries | Yes | JSON array of entry objects. Format depends on the action: - create: [{"title": "A", ...}, {"title": "B", ...}] - update: [{"id": 1, "data": {"title": "Updated"}}, ...] - delete: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] - publish: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] - unpublish: [{"id": 1}, {"id": 2}, ...] or [1, 2, 3] | |
| content_type | Yes | Plural API ID of the content type (e.g., 'articles', 'products') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |