parse_custom_resource
Extract properties, actions, and metadata from Chef custom resource files to support migration analysis and automation workflows.
Instructions
Parse a Chef custom resource or LWRP file.
Args: path: Path to the custom resource (.rb) file.
Returns: JSON string with extracted properties, actions, and metadata.
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": {
"path": "<path>"
},
"name": "parse_custom_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |