config_helper
Analyzes, validates, and fixes CircleCI configuration files by processing raw YAML content. Detects errors in the config and returns them for correction, ensuring proper setup for CI pipelines.
Instructions
This tool helps analyze and validate and fix CircleCI configuration files.
Parameters:
- params: An object containing:
- configFile: string - The full contents of the CircleCI config file as a string. This should be the raw YAML content, not a file path.
Example usage: { "params": { "configFile": "version: 2.1 orbs: node: circleci/node@7 ..." } }
Note: The configFile content should be provided as a properly escaped string with newlines represented as .
Tool output instructions: - If the config is invalid, the tool will return the errors and the original config. Use the errors to fix the config. - If the config is valid, do nothing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | No |