restart_zen
Restart Zen Browser with custom binary path, environment variables, headless mode, or preferences. Closes all tabs to apply new settings.
Instructions
Restart Zen with different configuration. Allows changing binary path, environment variables, and other options. All current tabs will be closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | New environment variables in KEY=VALUE format (optional, e.g., ["MOZ_LOG=HTMLMediaElement:5", "MOZ_LOG_FILE=/tmp/ff.log"]) | |
| prefs | No | Zen preferences to set at startup. Values are auto-typed: true/false become booleans, integers become numbers, everything else is a string. Requires MOZ_REMOTE_ALLOW_SYSTEM_ACCESS=1. | |
| zenPath | No | New Zen binary path (optional, keeps current if not specified) | |
| headless | No | Run in headless mode (optional, keeps current if not specified) | |
| startUrl | No | URL to navigate to after restart (optional, uses about:blank if not specified) | |
| profilePath | No | Zen profile parent path (optional, keeps current if not specified) |