open_in_browser
Open a project's URL in the default browser by auto-detecting it from configuration files or providing an explicit URL. Can also return the detected URL without opening.
Instructions
Open the project in the default browser. Automatically detects the project URL from common configuration files (.env, docker-compose.yml, etc.) or accepts an explicit URL. Can also just return the detected URL without opening.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Explicit URL to open. If not provided, will attempt to detect from project configuration. | |
| open | No | If true, open the URL in the default browser. Defaults to false (just returns the URL). | |
| project_dir | No | Project directory to search for configuration files. Defaults to current working directory. |