compatibility
Check if a dependency license (SPDX or common name) can be used in a project license; returns compatible, conditional, incompatible, or unknown with rule-based reasoning.
Instructions
Can code under dependency_license be used in a project licensed project_license?
Both accept SPDX ids/expressions or common spellings ('MIT', 'Apache 2', 'GPL-3.0-only', 'MIT OR Apache-2.0'); use 'proprietary' for a closed-source project. Answers compatible / conditional / incompatible / unknown from a small documented rule table (rule ids R1-R12 are cited), with the reasoning: e.g. Apache-2.0 into GPL-2.0-only is incompatible, into GPL-3.0 is fine; AGPL gets a network-clause note. A project offered under several licenses must be compatible with each option. Does not read any files.
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": {
"project_license": "<project_license>",
"dependency_license": "<dependency_license>"
},
"name": "compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_license | Yes | ||
| dependency_license | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |