Deploy Static HTML Site
deploy-static-html-siteDeploy static HTML by creating a Google Compute Engine VM that runs nginx and serves your content.
Instructions
Create a VM with a startup script that installs nginx and writes provided HTML to /var/www/html/index.html
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": {
"zone": "<zone>",
"vmName": "<vmName>",
"htmlContent": "<htmlContent>"
},
"name": "deploy-static-html-site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone for the instance (e.g., us-central1-a) | |
| vmName | Yes | Name for the VM | |
| projectId | No | Project ID (optional, will use default if omitted) | |
| htmlContent | Yes | HTML content to serve |