create_configs_from_files
Create multiple BunkerWeb config snippets from base64-encoded files sharing one config type and service, with each snippet named after its file stem and invalid files reported without failing the batch.
Instructions
Create snippets from base64 files ({filename, content_base64}) sharing one type and service; each is named after its sanitized file stem and bad files are reported, not fatal. Use create_config for text. Saved to the database; the scheduler applies it later; this tool cannot confirm it is live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to create, one snippet per file, named after the sanitized file stem | |
| service | No | Service ID for every file; omit or 'global' for global | |
| is_draft | No | Create as draft | |
| config_type | Yes | Type for every uploaded file. Custom config type, e.g. http, server-http, default-server-http, stream, server-stream, modsec, modsec-crs, crs-plugins-before, crs-plugins-after |