Export stack profile IaC
export_stack_profile_iacExport one published version of a stack profile as a ClusterInfrastructureAsCode YAML document (the twin of ankra stack-profiles export-iac), with the parameters it declares. Use this to read a profile's full definition, to copy it into another organisation with import_stack_profile, or to keep it in Git. Read-only.
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": {
"profile_id": "<profile_id>",
"version": "<version>"
},
"name": "export_stack_profile_iac"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | The published version number (from get_stack_profile). | |
| profile_id | Yes | The stack profile id (UUID) from list_stack_profiles. |