evaluate_spdx_expression_policy
Evaluate single or compound SPDX license expressions across SaaS, binary, and internal deployment modes to determine policy compliance verdicts.
Instructions
Evaluates single or compound SPDX boolean license expressions (OR, AND, WITH, parentheses) across SaaS, Commercial Binary, and Internal Tool deployment modes.
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": {
"expression": "<expression>"
},
"name": "evaluate_spdx_expression_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | Single SPDX identifier or compound boolean expression such as "(MIT OR GPL-3.0-only)", "GPL-3.0-only AND MIT", "BUSL-1.1", or "Apache-2.0 WITH Commons-Clause". | |
| deploymentMode | No | Optional primary deployment mode ("saas", "binary", or "internal") highlighted in the top-level verdict; all three modes are returned in matrix. |