convert_chef_search_to_inventory
Convert Chef search queries into Ansible inventory patterns and groups for infrastructure migration.
Instructions
Convert a Chef search query to Ansible inventory patterns and groups.
Args: search_query: Chef search query (e.g., "role:web AND environment:production").
Returns: JSON string with Ansible inventory patterns and group definitions.
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": {
"search_query": "<search_query>"
},
"name": "convert_chef_search_to_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |