export_vng_yaml
Export a VNG configuration to YAML for GitOps backup and comparison. Supports AWS and Azure with optional account ID.
Instructions
Export a VNG configuration as YAML. Useful for GitOps comparison or backup.
Args: vng_id: The VNG ID (e.g. ols-abc12345 for AWS, vng-abc12345 for Azure) account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws)
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": {
"vng_id": "<vng_id>"
},
"name": "export_vng_yaml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vng_id | Yes | ||
| account_id | No | ||
| cloud | No | aws |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |