get_latest_terraform_state
Retrieve the current Terraform state for a specified Semaphore UI project inventory to inspect deployed infrastructure and verify configuration alignment.
Instructions
get latest terraform state. Availability depends on Semaphore edition, license, and permissions; some Community routes return 404 or empty lists. GET /project/{project_id}/inventory/{inventory_id}/terraform/states/latest.
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": {
"project_id": "<project_id>",
"inventory_id": "<inventory_id>"
},
"name": "get_latest_terraform_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| inventory_id | Yes |