Prompt Buddy logoPrompt Buddy

cloudflare ยท Cloudflare Workers Docs

Workers Configuration

Teaches how to configure Wrangler for Worker projects using JSON or TOML, including setting up environments, managing inheritable and non-inheritable keys, and configuring routes or custom domains.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Configuration

Teaches how to configure Wrangler for Worker projects using JSON or TOML, including setting up environments, managing inheritable and non-inheritable keys, and configuring routes or custom domains.

When To Use

Use when you need to set up a wrangler.jsonc or wrangler.toml file, define environment-specific configurations like staging or production, or manage key inheritance for Worker bindings.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-wrangler-configuration-workflow-guide.mdA guide explaining how to use wrangler.toml or wrangler.json to customize development and deployment settings for Cloudflare Workers.Questions about a guide explaining how to use wrangler.toml or wrangler.json to customize development and deployment settings for Clo...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur.textA sample wrangler.toml file demonstrating top-level configuration settings including name, main entry point, compatibility date, and route patterns.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating top-level configuration settings including name, main entry point, compatib...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-2.textA TOML configuration file demonstrating wrangler settings including schema references, compatibility dates, routes, and environment-specific overrides.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating wrangler settings including schema references, compatibility dates, routes, a...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-3.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-kv-names.textA wrangler.toml configuration example demonstrating how to define a KV namespace binding for a Cloudflare Worker.Exact payloads, commands, or snippets shown in A wrangler.toml configuration example demonstrating how to define a KV namespace binding for a Cloudflare Worker.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-4.textA TOML configuration file demonstrating how to define routes and custom domains for a Cloudflare Worker using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating how to define routes and custom domains for a Cloudflare Worker using Wrangler.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-routes-config.textA text example demonstrating how to configure routes and custom domains within a wrangler.toml configuration file.Exact payloads, commands, or snippets shown in A text example demonstrating how to configure routes and custom domains within a wrangler.toml configuration file.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-5.textA sample wrangler.toml file demonstrating configuration properties for Cloudflare Workers such as routes and zone IDs.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration properties for Cloudflare Workers such as routes and zone IDs.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-routes-c.textA wrangler.toml configuration example demonstrating how to define routes for a Cloudflare Worker.Exact payloads, commands, or snippets shown in A wrangler.toml configuration example demonstrating how to define routes for a Cloudflare Worker.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-6.textA sample wrangler.toml file demonstrating configuration properties for Cloudflare Workers such as routes and zone names.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration properties for Cloudflare Workers such as routes and zone names.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration.textA text example demonstrating how to configure the routes pattern and zone name within a wrangler configuration file.Exact payloads, commands, or snippets shown in A text example demonstrating how to configure the routes pattern and zone name within a wrangler configuration file.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-2.textA sample wrangler.toml configuration file demonstrating route and environment settings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating route and environment settings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-3.textA text example demonstrating wrangler configuration settings such as route definitions for Cloudflare Workers.Exact payloads, commands, or snippets shown in A text example demonstrating wrangler configuration settings such as route definitions for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-7.textA sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-4.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-5.textA text example of a wrangler.toml configuration file containing triggers and cron settings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A text example of a wrangler.toml configuration file containing triggers and cron settings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-8.textA sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as triggers and cron schedules.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as triggers and cron sche...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-9.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler, including observability options.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler, including o...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-observab.textA wrangler.toml configuration snippet demonstrating how to enable observability and set the head sampling rate.Exact payloads, commands, or snippets shown in A wrangler.toml configuration snippet demonstrating how to enable observability and set the head sampling rate.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-6.textA sample wrangler.toml configuration file demonstrating build commands, working directories, and watch directories for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating build commands, working directories, and watch directories fo...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-10.textA sample wrangler.toml file demonstrating build command, current working directory, and watch directory configuration settings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating build command, current working directory, and watch directory configuration...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-11.textA TOML configuration file demonstrating various limit and runtime settings for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various limit and runtime settings for a Cloudflare Workers project using Wra...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-7.textAn example of the [limits] section in a wrangler configuration file defining cpums and subrequests.Exact payloads, commands, or snippets shown in An example of the [limits] section in a wrangler configuration file defining cpums and subrequests.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-12.textA TOML configuration file demonstrating the structure and parameters for a Cloudflare Workers wrangler.toml file.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating the structure and parameters for a Cloudflare Workers wrangler.toml file.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-13.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-14.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including D1 database bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including D1 database bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-15.textA sample wrangler.toml file demonstrating configuration syntax for Workers, including D1 database bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration syntax for Workers, including D1 database bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-8.textA TOML configuration file demonstrating various Workers settings such as dispatch namespaces and outbound service parameters.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various Workers settings such as dispatch namespaces and outbound service par...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-9.textA TOML configuration example demonstrating dispatch namespaces and outbound service parameters for Cloudflare Workers.Exact payloads, commands, or snippets shown in A TOML configuration example demonstrating dispatch namespaces and outbound service parameters for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-16.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including durable objects and bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including durable objects and...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-durable-.textA TOML configuration example demonstrating how to define durable object bindings within a wrangler.toml file.Exact payloads, commands, or snippets shown in A TOML configuration example demonstrating how to define durable object bindings within a wrangler.toml file.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-10.textA sample wrangler.toml configuration file demonstrating migrations, durable object class renaming, and versioning directives.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating migrations, durable object class renaming, and versioning dir...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-migrations-co.textA wrangler configuration file demonstrating the syntax for defining Durable Object migrations including adding, deleting, and renaming classes.Exact payloads, commands, or snippets shown in A wrangler configuration file demonstrating the syntax for defining Durable Object migrations including adding, delet...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-17.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-11.textA TOML configuration example for Cloudflare Workers using the Wrangler CLI.Exact payloads, commands, or snippets shown in A TOML configuration example for Cloudflare Workers using the Wrangler CLI.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-12.textA sample wrangler.toml configuration file demonstrating schema references, worker naming, and environment variable definitions.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating schema references, worker naming, and environment variable de...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-18.textA TOML configuration file for a Cloudflare Worker demonstrating schema references, environment variables, and nested variable structures.Exact payloads, commands, or snippets shown in A TOML configuration file for a Cloudflare Worker demonstrating schema references, environment variables, and nested...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-13.textA wrangler.toml configuration file demonstrating compatibility flags and hyperdrive bindings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file demonstrating compatibility flags and hyperdrive bindings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-19.textA TOML configuration file demonstrating wrangler settings including compatibility flags and hyperdrive bindings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating wrangler settings including compatibility flags and hyperdrive bindings for C...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-20.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-21.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and environment settings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-22.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including KV namespace bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including KV namespace...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-kv-names-2.textA wrangler.toml configuration example demonstrating how to define multiple KV namespace bindings.Exact payloads, commands, or snippets shown in A wrangler.toml configuration example demonstrating how to define multiple KV namespace bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-23.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-24.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as bindings and namespaces.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as bindings and namespaces.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-25.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-26.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as bindings and environment variables.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as bindings and e...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-14.textA TOML configuration file demonstrating various Wrangler settings for Cloudflare Workers, including queues and bindings.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various Wrangler settings for Cloudflare Workers, including queues and bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-queues-produc.textA text configuration example demonstrating the syntax for defining queues producers within a wrangler configuration file.Exact payloads, commands, or snippets shown in A text configuration example demonstrating the syntax for defining queues producers within a wrangler configuration f...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-27.textA TOML configuration file demonstrating various Workers settings including queues, consumers, and retry policies.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various Workers settings including queues, consumers, and retry policies.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-queues-c.textA TOML configuration snippet demonstrating how to define queue consumers and their retry settings in a wrangler.toml file.Exact payloads, commands, or snippets shown in A TOML configuration snippet demonstrating how to define queue consumers and their retry settings in a wrangler.toml...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-28.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including R2 bucket bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including R2 bucket bi...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-r2-buckets-co.textA configuration snippet demonstrating how to define multiple R2 bucket bindings within a wrangler.toml file.Exact payloads, commands, or snippets shown in A configuration snippet demonstrating how to define multiple R2 bucket bindings within a wrangler.toml file.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-29.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and environment settings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-15.textA text example demonstrating wrangler configuration syntax for defining vectorize bindings.Exact payloads, commands, or snippets shown in A text example demonstrating wrangler configuration syntax for defining vectorize bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-30.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as services, bindings, and environment settings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as services, bind...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-31.textA sample wrangler.toml file demonstrating configuration syntax for Cloudflare Workers services and bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration syntax for Cloudflare Workers services and bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-32.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-analytic.textA wrangler.toml configuration snippet demonstrating how to define analytics engine datasets bindings.Exact payloads, commands, or snippets shown in A wrangler.toml configuration snippet demonstrating how to define analytics engine datasets bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-33.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-mtls-cer.textA wrangler.toml configuration snippet demonstrating the mtls_certificates binding syntax for Cloudflare Workers.Exact payloads, commands, or snippets shown in A wrangler.toml configuration snippet demonstrating the mtlscertificates binding syntax for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-34.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler, including AI bindings.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler, including A...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-35.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and environment settings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers including bindings and...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-36.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as bindings and workflows.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as bindings and workflows.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-37.textA TOML configuration example demonstrating how to define workflows and bindings within a wrangler.toml file for Cloudflare Workers.Exact payloads, commands, or snippets shown in A TOML configuration example demonstrating how to define workflows and bindings within a wrangler.toml file for Cloud...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-38.textA sample wrangler.toml file demonstrating configuration options for Cloudflare Workers including assets and bindings.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration options for Cloudflare Workers including assets and bindings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-assets-c.textA TOML configuration snippet demonstrating the assets directory and HTML handling settings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A TOML configuration snippet demonstrating the assets directory and HTML handling settings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-39.textA sample wrangler.toml configuration file demonstrating assets directory settings and routing rules for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating assets directory settings and routing rules for Cloudflare Wo...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-16.textA TOML configuration example for Cloudflare Workers using the Wrangler CLI, including assets directory and binding settings.Exact payloads, commands, or snippets shown in A TOML configuration example for Cloudflare Workers using the Wrangler CLI, including assets directory and binding se...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-17.textA TOML configuration file demonstrating various settings for Cloudflare Workers using Wrangler, including container specifications and image variables.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for Cloudflare Workers using Wrangler, including container s...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-containe.textA TOML configuration example demonstrating the use of the containers class and durable objects bindings within a wrangler.toml file.Exact payloads, commands, or snippets shown in A TOML configuration example demonstrating the use of the containers class and durable objects bindings within a wran...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-40.textA sample wrangler.toml file demonstrating configuration parameters for Cloudflare Workers such as containers, images, and instance types.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration parameters for Cloudflare Workers such as containers, images,...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-containe-2.textA TOML configuration snippet demonstrating the containers section for defining resource limits in a wrangler configuration file.Exact payloads, commands, or snippets shown in A TOML configuration snippet demonstrating the containers section for defining resource limits in a wrangler configur...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-41.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-42.textA text example demonstrating how to define rules within a wrangler.toml configuration file for Cloudflare Workers.Exact payloads, commands, or snippets shown in A text example demonstrating how to define rules within a wrangler.toml configuration file for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-18.textA text-based example demonstrating the configuration structure for Cloudflare Workers using the Wrangler CLI.Exact payloads, commands, or snippets shown in A text-based example demonstrating the configuration structure for Cloudflare Workers using the Wrangler CLI.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-43.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-python-m.textA wrangler.toml configuration snippet demonstrating how to exclude python modules and cache directories from a Cloudflare Workers deployment.Exact payloads, commands, or snippets shown in A wrangler.toml configuration snippet demonstrating how to exclude python modules and cache directories from a Cloudf...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-44.textA sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as dev server IP, port, and local protocol.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as dev server IP, port, a...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-dev-configura.textA text configuration example for setting the dev IP, port, and local protocol in a Wrangler development environment.Exact payloads, commands, or snippets shown in A text configuration example for setting the dev IP, port, and local protocol in a Wrangler development environment.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-45.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including secrets and environment requirements.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers including secrets and environ...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-secrets-.textA wrangler.toml configuration example demonstrating how to define required secrets for a Cloudflare Worker.Exact payloads, commands, or snippets shown in A wrangler.toml configuration example demonstrating how to define required secrets for a Cloudflare Worker.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-env-variables.textAn example of configuring environment variables and secrets within a Wrangler configuration file for Cloudflare Workers.Exact payloads, commands, or snippets shown in An example of configuring environment variables and secrets within a Wrangler configuration file for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-46.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as aliases and module paths.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers such as aliases and mo...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-47.textAn example of using the alias property within a wrangler.toml configuration file for Cloudflare Workers.Exact payloads, commands, or snippets shown in An example of using the alias property within a wrangler.toml configuration file for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-19.textAn example configuration file demonstrating the structure and syntax for a Cloudflare Workers wrangler.toml setup.Exact payloads, commands, or snippets shown in An example configuration file demonstrating the structure and syntax for a Cloudflare Workers wrangler.toml setup.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-48.textA sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-49.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-20.textA sample wrangler.toml configuration file demonstrating various worker settings and aliases.Exact payloads, commands, or snippets shown in A sample wrangler.toml configuration file demonstrating various worker settings and aliases.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-50.textA sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-51.textA sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating various configuration options for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-21.textA sample TOML configuration file demonstrating various settings and aliases for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A sample TOML configuration file demonstrating various settings and aliases for a Cloudflare Workers project using Wr...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-52.textA sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for a Cloudflare Workers project.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-22.textA TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating various settings for a Cloudflare Workers project using Wrangler.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-53.textA sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as upload_source_maps.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration options for Cloudflare Workers such as uploadsourcemaps.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-54.textA sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as site assets and environment variables.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating configuration settings for Cloudflare Workers such as site assets and envir...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-site-con.textA wrangler.toml configuration example defining site bucket paths and directory inclusion/exclusion rules.Exact payloads, commands, or snippets shown in A wrangler.toml configuration example defining site bucket paths and directory inclusion/exclusion rules.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-dev-http-prox.textA command line example demonstrating how to run wrangler dev with a custom HTTP proxy environment variable.Exact payloads, commands, or snippets shown in A command line example demonstrating how to run wrangler dev with a custom HTTP proxy environment variable.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-jsonc-config.textA sample wrangler.jsonc configuration file demonstrating the structure for Cloudflare Workers settings.Exact payloads, commands, or snippets shown in A sample wrangler.jsonc configuration file demonstrating the structure for Cloudflare Workers settings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-55.textA sample wrangler.toml file demonstrating environment variables and schema configuration for Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating environment variables and schema configuration for Cloudflare Workers.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-56.textA TOML configuration file demonstrating wrangler.toml settings including schema definition, main entry point, and environment-specific variables.Exact payloads, commands, or snippets shown in A TOML configuration file demonstrating wrangler.toml settings including schema definition, main entry point, and env...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-23.textAn example of a wrangler configuration file demonstrating command-line build options and environment settings.Exact payloads, commands, or snippets shown in An example of a wrangler configuration file demonstrating command-line build options and environment settings.
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-toml-configur-57.textA sample wrangler.toml file demonstrating basic worker configuration including name, main entry point, and environment variables.Exact payloads, commands, or snippets shown in A sample wrangler.toml file demonstrating basic worker configuration including name, main entry point, and environmen...
examples/workers-wrangler-configuration-cloudflare-workers-wrangler-configuration-24.textA sample wrangler configuration file demonstrating the structure and properties used to configure Cloudflare Workers.Exact payloads, commands, or snippets shown in A sample wrangler configuration file demonstrating the structure and properties used to configure Cloudflare Workers.

What This Skill Covers

  • Wrangler optionally uses a configuration file to customize the development and deployment setup for a Worker.
  • Main sections: Sample Wrangler configuration, Environments, Automatic provisioning, Top-level only keys, Inheritable keys.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/wrangler/configuration