diffci_select_tests
Identify which tests and checks your staged, unstaged, or path-scoped changes affect, returning a snapshot-bound test plan and the exact verify command to run—without running tests.
Instructions
Inspect current staged, unstaged and non-ignored untracked changes and return a snapshot-bound affected-test plan and fallback reasons. Runs no tests; a plan is not a passing receipt. With scope "staged" or "paths", plans HEAD plus only the index or only the given files in a temporary worktree, and returns the one diffci verify --staged/--paths command to run; use it before a commit when other sessions share the checkout.
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": "diffci_select_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Absolute repository path; defaults to server working directory. Always pass the edited repository when using a plugin. | |
| paths | No | Repository-relative files for scope "paths". | |
| scope | No | working-tree (default): every uncommitted change. staged: HEAD plus the index only. paths: HEAD plus only `paths`. |