Generate SBOM steps for CI
sbom_ci_snippetGenerates a CI workflow that produces an SBOM (software bill of materials, CycloneDX JSON) on every build, on GitHub Actions or a GitLab CI pipeline, for npm (Node.js), pip or Poetry (Python), Maven or Gradle (Java), Go or Cargo (Rust) projects. Returns a ready-to-commit workflow or job with actions pinned to commit SHAs and the generator version. Covers no other CI systems or ecosystems; for reading an existing SBOM: sbom_summarize.
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": {
"ecosystem": "<ecosystem>",
"ci": "<ci>"
},
"name": "sbom_ci_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ci | Yes | CI system or pipeline: github (GitHub Actions workflow) or gitlab (GitLab CI/CD job). | |
| ecosystem | Yes | Package manager or language of the project: npm (Node.js, JavaScript, TypeScript), pip or poetry (Python), maven or gradle (Java, Kotlin), go (Go modules), cargo (Rust). |