sbom
Generate a Software Bill of Materials (SBOM) for an npm project to document dependencies. Choose between CycloneDX and SPDX formats, and optionally include only production dependencies.
Instructions
Generate a Software Bill of Materials (SBOM) for a project
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": {
"path": "<path>"
},
"name": "sbom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the package directory | |
| format | No | SBOM format (default: cyclonedx) | |
| production | No | Only include production dependencies |