Known bugs a code snippet touches
landmine_checkCheck a JS/TS or Python code snippet against the open GitHub issues filed against the exact package versions it runs on. Returns each issue the code touches (by the APIs it calls), with the evidence and the best workaround from the thread (untrusted third-party text).
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": {
"code": "<code>",
"packages": "<packages>"
},
"name": "landmine_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to check | |
| language | No | Language of the code (default: py when the packages are PyPI, else js) | |
| packages | Yes | The dependencies the code uses. Exact versions as your lockfile pins them: "next@16.4.0", "@tanstack/react-table@9.2.4", "pandas==2.3.1" (== means PyPI), or "pypi:requests@2.32.3". A bare name looks up the latest version. |