contentrain_bulk
Copy a locale or delete multiple collection entries in batch, with a dry-run preview before changes are auto-committed to git.
Instructions
Batch operations on content entries: copy a locale, or delete many collection entries. All operations are auto-committed to git. To publish or change status, use contentrain_content_status. DRY RUN (dry_run:true): runs the whole operation in a throwaway worktree and reports exactly what would change — nothing is committed and no branch survives. Recommended workflow: preview with dry_run:true, review the counts, then call again to execute.
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": {
"operation": "<operation>",
"model": "<model>"
},
"name": "contentrain_bulk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID | |
| confirm | No | Must be true for delete_entries (not needed while dry_run:true — a preview deletes nothing) | |
| dry_run | No | Preview mode: perform the operation in a throwaway worktree and report what would change, committing nothing. Defaults to false so existing callers keep executing. | |
| entry_ids | No | Entry IDs for delete_entries (collection models) | |
| operation | Yes | ||
| source_locale | No | Source locale for copy_locale operation | |
| target_locale | No | Target locale for copy_locale operation |