Run Android Lint
lint_runRun Android Lint analysis on a project to surface warnings, errors, and suggestions with file locations, so you can find code issues before building or releasing.
Instructions
Run Android Lint analysis on a project and return warnings, errors, and suggestions with file locations
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": {
"projectDir": "<projectDir>"
},
"name": "lint_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fatal | No | If true, report as error when fatal lint issues are found | |
| module | No | Module to lint | :app |
| projectDir | Yes | Absolute path to the Android project root directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| exitCode | Yes |