execute_command
Run a security-validated custom command on a Google Cloud VPS instance for predefined safe operations, using the specified project, instance, and working directory.
Instructions
Execute a custom command on the VPS with security validation. Only allows safe, predefined operations.
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>",
"command": "<command>"
},
"name": "execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute (validated for security) | |
| projectId | Yes | Google Cloud project ID | |
| workingDir | No | Working directory for the command | |
| instanceName | Yes | VPS instance name |