start_preview
Starts a local Hugo preview server to test your static site before deployment. Configure port, bind address, and include drafts or future content.
Instructions
Start Hugo local server for preview
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_path": "<site_path>"
},
"name": "start_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bind | No | 127.0.0.1 | |
| port | No | ||
| site_path | Yes | ||
| build_drafts | No | ||
| build_future | No | ||
| build_expired | No |