aws_cfn_get_template
Retrieve AWS CloudFormation template body for a stack to analyze infrastructure configuration and deployment details.
Instructions
Get the CloudFormation template body for a stack.
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": {
"stack_name": "<stack_name>"
},
"name": "aws_cfn_get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | AWS profile name from ~/.aws/config (e.g., 'default', 'production') | |
| region | No | AWS region override (e.g., 'us-east-1', 'sa-east-1') | |
| stack_name | Yes | Stack name or ID | |
| template_stage | No | Template stage: Original or Processed (default: Original) |