infracost_cloud_get_guardrail
Retrieve specific cost guardrail details from Infracost Cloud to monitor and enforce cloud spending policies for infrastructure deployments.
Instructions
Get a specific guardrail from Infracost Cloud. Requires INFRACOST_SERVICE_TOKEN environment variable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgSlug | No | Organization slug from Infracost Cloud (defaults to INFRACOST_ORG env var) | |
| guardrailId | Yes | Guardrail ID |
Input Schema (JSON Schema)
{
"properties": {
"guardrailId": {
"description": "Guardrail ID",
"type": "string"
},
"orgSlug": {
"description": "Organization slug from Infracost Cloud (defaults to INFRACOST_ORG env var)",
"type": "string"
}
},
"required": [
"guardrailId"
],
"type": "object"
}