generate_cyclonedx_sbom
Convert package-lock.json, pnpm-lock.yaml, Cargo.lock, poetry.lock, or uv.lock into a deterministic CycloneDX 1.5 JSON SBOM with canonical purls, SHA-512/SHA-256 digests, and SPDX licenses.
Instructions
Generates a deterministic CycloneDX 1.5 JSON Software Bill of Materials (SBOM) with canonical Package URLs (purl), hex SHA-512/SHA-256 digests, and SPDX license objects.
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": "generate_cyclonedx_sbom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| excludeDev | No | When true, omits devDependencies from the emitted CycloneDX 1.5 components list. | |
| filenameHint | No | Optional lockfile filename hint used for format detection when lockfileContent is provided directly. | |
| lockfilePath | No | Optional local file path to a lockfile on disk when lockfileContent is omitted. | |
| applicationName | No | Optional application component name written into metadata.component.name of the CycloneDX 1.5 BOM. | |
| lockfileContent | No | Raw text content of package-lock.json, pnpm-lock.yaml, Cargo.lock, poetry.lock, or uv.lock converted into CycloneDX 1.5 JSON. | |
| referenceTimeIso | No | Optional ISO-8601 UTC timestamp overriding metadata.timestamp for byte-for-byte reproducible SBOM builds. | |
| applicationVersion | No | Optional application version written into metadata.component.version of the CycloneDX 1.5 BOM. | |
| includeMarkdownReport | No | When true, includes an executive M&A / EU CRA Markdown due-diligence summary alongside the CycloneDX 1.5 BOM. |