verify_changes
Compare current ty diagnostics against a git revision to find type errors introduced or removed by edits, checking changed Python files and their importers. Read-only.
Instructions
What did the edits since a git revision break? Compares ty diagnostics now against since (default HEAD).
Run it after editing with any tool (your own Edit/Write included) to see the type errors the working tree has gained or lost relative to the last commit: the changed Python files and the files importing them are checked with the committed versions of the changed files substituted in for the "before" side. Read-only. A changed pyproject.toml, ty.toml or .ty.toml changes the rules for every file: then the whole project is checked and every current diagnostic is listed, because the old configuration cannot be re-checked.
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": "verify_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | HEAD | |
| include_dependents | No |