generate_sbom
Create a Software Bill of Materials for a Docker image with Syft, outputting JSON, CycloneDX, or SPDX to inventory components for supply-chain review.
Instructions
Generate Software Bill of Materials for a Docker image using Syft
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 |
|---|---|---|---|
| image | Yes | Docker image name and tag | |
| format | No | Output format (json, cyclonedx, spdx) | json |