Query By Commit
query_by_commitFind vulnerabilities affecting a specific source-repository git commit via OSV.dev. Useful when you have a pinned commit hash rather than a released version. Returns the same compact vuln summary array. Keyless.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commit": "6879efc2c1596d11a6a6ad296f80063b558d5e0f"
},
"name": "query_by_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes | A git commit hash, e.g. "6879efc2c1596d11a6a6ad296f80063b558d5e0f". |