redeploy
Pull the latest Git changes, rebuild, and restart an existing application on a Google Cloud VPS to update a deployed project.
Instructions
Redeploy an existing project. Pulls latest changes, rebuilds, and restarts the application.
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": {
"projectId": "<projectId>",
"instanceName": "<instanceName>",
"projectPath": "<projectPath>"
},
"name": "redeploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Git branch to pull | main |
| rebuild | No | Force rebuild | |
| projectId | Yes | Google Cloud project ID | |
| projectPath | Yes | Path to the project on VPS | |
| instanceName | Yes | VPS instance name |