refresh_terraform_service
Refresh Terraform state for a service by hostname to detect configuration drift and align infrastructure with declared configurations.
Instructions
Refresh Terraform state and detect configuration drift
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": "refresh_terraform_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 refresh |