Serve Preview
serveStart or stop a localhost-only static preview for HTML, CSS, JS, and SVG; hidden files are blocked, and this is not a deployment service.
Instructions
Start or stop a localhost-only static preview for HTML, CSS, JS, and SVG. Hidden files are blocked. Not a deployment service; do not serve files containing secrets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Starting port; tries subsequent ports if occupied. | |
| root | No | Folder to serve (default '.'). | |
| action | No | Default: start. |