generate_sbom
Generate a Software Bill of Materials (SBOM) for any Docker image, listing all packages and dependencies in CycloneDX or SPDX format.
Instructions
Generate a Software Bill of Materials (SBOM) for a Docker image in CycloneDX or SPDX format. The SBOM lists all packages and dependencies in the image.
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": {
"image": "<image>"
},
"name": "generate_sbom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Image tag | |
| image | Yes | Docker image to generate SBOM for | |
| format | No | SBOM output format (default: cyclonedx) | |
| output | No | File path to write SBOM (if omitted, returns in response) | |
| timeout | No | Timeout in seconds (default: 120) |