verify_ladder
Suggests a minimal set of verification tasks from changed file paths, including static checks for C/C++ files before pytest, so you run only the checks needed.
Instructions
Suggest minimal verify tasks for a set of changed file paths.
Returns static_checks (e.g. ["clang-tidy"]) when a changed path
is a C/C++ file in a C++ repo — run those before the pytest tasks
(see tools/clang_tidy_workflow).
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": {
"changed_paths": "<changed_paths>"
},
"name": "verify_ladder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed_paths | Yes | List of changed file paths (workspace-relative or repo-prefixed), e.g. ["pypto/src/codegen/pto/foo.cc", "simpler/src/common/comm/bar.cc"]. Used to derive minimal verify task set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||