Generate an SBOM from a lockfile
appsec-config_sbom-generateBuild CycloneDX or SPDX SBOMs from npm/PyPI/Go/Cargo lockfiles. Price $0.03 USDC. POST /api/v1/appsec-config/sbom-generate. An unpaid call returns the x402 payment terms and does not run.
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": {
"lockfile": "<lockfile>"
},
"name": "appsec-config_sbom-generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | format, string, one of cyclonedx-1.6-json, spdx-2.3-json. Required. | cyclonedx-1.6-json |
| lockfile | Yes | lockfile, object. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | sources. Array. | |
| metadata | No | metadata. Object. | |
| bomFormat | No | bomFormat. String. | |
| components | No | components. Array. | |
| limitations | No | limitations. Array. | |
| specVersion | No | specVersion. String. | |
| dependencies | No | dependencies. Array. | |
| serialNumber | No | serialNumber. String. |