changed
Maps a git diff to modified code definitions, their callers, and tests to run; lists deletions it cannot map and refuses stale files until recompiled.
Instructions
From git diff (read-only) to the definitions whose lines changed, their callers and
the tests to run. Hunks that only delete code cannot be mapped and are listed; files
edited after their last compilation are refused until recompiled.
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": "changed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | git revision to compare with | HEAD |
| depth | No | Caller levels | |
| paths | No | Limit to these paths | |
| staged | No | Only staged changes | |
| project_root | No | Checkout or worktree to query (any directory in it); default: where the server started |