jetbrains_inspect_git_changes
Inspect code quality of git changes using JetBrains inspections. Analyzes staged, unstaged, and untracked files relative to a base ref.
Instructions
Collect changed files in the git repository under project_root (staged, unstaged, untracked; relative to base_ref) and inspect them with JetBrains inspections. Deleted files are excluded.
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": {
"project_root": "<project_root>"
},
"name": "jetbrains_inspect_git_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_ref | No | HEAD | |
| errors_only | No | ||
| project_root | Yes | ||
| include_staged | No | ||
| include_unstaged | No | ||
| include_untracked | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||