Upload Static Site HTML
upload-static-site-htmlUpload HTML content to a Cloud Storage bucket and set it as publicly readable, so you can host a static website directly from Google Cloud.
Instructions
Upload an HTML file to Cloud Storage and make it publicly readable.
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": {
"bucketName": "<bucketName>",
"htmlContent": "<htmlContent>"
},
"name": "upload-static-site-html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | File name (default index.html) | index.html |
| bucketName | Yes | Bucket name | |
| htmlContent | Yes | HTML content to upload |