Check my change
check_my_changeAsk this after editing and before committing: does this change undo a past fix? Give the change as a unified
diff (the output of git diff). For every past fix (a merged change that closed a bug report) whose lines the
diff removes or rewrites, returns the fix, the bug report it closed, how many of the lines it added to that file
are being removed, and the tests that fix added, so they can be run before the change is kept. A test the diff
itself deletes is named too. tests_to_run lists the tests that past fixes added for the files in the diff,
whether or not a line of theirs is removed. A change that removes no such line is reported as that; it is not a
promise that the change is safe. The diff is read to answer and is not kept.
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": {
"repository": "<repository>",
"diff": "<diff>"
},
"name": "check_my_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| repository | Yes |