cloudflare_worker_deploy
Deploy or update a Cloudflare Workers script by providing source code, script name, and compatibility date.
Instructions
Deploy a Workers script. Creates or updates the named script with the provided source code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_name | Yes | Worker script name (lowercase alphanumeric and hyphens) | |
| content_type | No | Content type of the script (default: 'application/javascript+module') | |
| script_content | Yes | JavaScript or TypeScript source code for the Worker | |
| compatibility_date | Yes | Compatibility date (e.g., '2026-03-15') | |
| compatibility_flags | No | Optional compatibility flags (e.g., ['nodejs_compat']) |