megalinter_write_config
Write a minimal MegaLinter configuration file to specify linter settings, fix behavior, and disable linters.
Instructions
Generate a minimal .mega-linter.yml configuration file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "megalinter_write_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applyFixes | No | Value for APPLY_FIXES (none, all, or linter list). | none |
| targetPath | No | Output path for the MegaLinter config file. Defaults to .mega-linter.yml | |
| disableLinters | No | Optional list for DISABLE_LINTERS. | |
| showElapsedTime | No | Set SHOW_ELAPSED_TIME. | |
| flavorSuggestions | No | Set FLAVOR_SUGGESTIONS. |