run_lint
Execute lint commands to catch coding errors and maintain code quality, returning linting errors for the specified working directory.
Instructions
Runs the linter and returns any linting errors.
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": "run_lint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | /app |
| command | No | Lint command to run | npm run lint |