config_helper
Analyze, validate, and fix CircleCI configuration files by inputting raw YAML content. Identify errors, correct invalid configurations, and ensure workflows are correctly set up.
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 |