convert_chef_environment_to_inventory_group
Convert Chef environment files to Ansible inventory groups with variables, enabling migration of infrastructure configurations between automation platforms.
Instructions
Convert Chef environment to Ansible inventory group with variables.
Args: environment_content: Ruby content of the Chef environment file environment_name: Name of the Chef environment include_constraints: Whether to include cookbook version constraints
Returns: Ansible inventory group configuration with variables
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": {
"environment_content": "<environment_content>",
"environment_name": "<environment_name>"
},
"name": "convert_chef_environment_to_inventory_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment_content | Yes | ||
| environment_name | Yes | ||
| include_constraints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |