Check a lockfile
check_lockfileMatch the packages and versions in a lockfile against incidents that state fixed versions, and print a receipt: what you use, the version, affected or not, and the exact upgrade. Accepts package-lock.json, yarn.lock, pnpm-lock.yaml, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, composer.lock, go.sum, go.mod, Cargo.lock, Gemfile.lock, a Dockerfile, an .nvmrc / .node-version ("node") or a GitHub Actions workflow ("actions"). For several files at once, use check_repo.
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": {
"content": "<content>"
},
"name": "check_lockfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The lockfile text, as-is. | |
| ecosystem | No | Which reader to use. "auto" detects from the content. "node" is an .nvmrc or .node-version file, "actions" a GitHub Actions workflow. | auto |