bricks_switch_site
Switch the active WordPress site with automatic cache clearing and site warming. Provide a site key from bricks_list_sites to change environments.
Instructions
Switch the active WordPress site. Clears cache and warms the new site. Use bricks_list_sites to see available keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Site key from sites.json (e.g. "bricks-main", "staging") |