destroy_terraform_service
Destroy a Terraform-managed service and remove all associated resources from the specified host using SSH.
Instructions
Destroy a Terraform-managed service and clean up all resources
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": {
"service_name": "<service_name>",
"hostname": "<hostname>"
},
"name": "destroy_terraform_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, return a preview of what would be affected without executing any changes. | |
| hostname | Yes | Hostname or IP address of the device | |
| password | No | SSH password (not needed for mcp_admin after setup) | |
| username | No | SSH username (use 'mcp_admin' for passwordless access after setup) | mcp_admin |
| service_name | Yes | Name of the service to destroy |