Can these licenses be combined?
license_compatibilityCall before shipping one product that bundles code, data, fonts or media under different licenses. Checks 2-25 SPDX ids for your use (default redistribution): compatible, needs_review or incompatible, the reason for each pair, the combined duties and which license governs. Free, no key. Call with {"licenses": ["MIT", "GPL-3.0-only"], "intended_use": {"redistribution": true}}.
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": {
"licenses": "<licenses>"
},
"name": "license_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| licenses | Yes | SPDX ids | |
| intended_use | No | Uses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | Yes | ||
| verdict | Yes | ||
| combined_duties | No |