get_dependency_license
Resolve Maven dependency licenses to check compliance: get SPDX IDs, permissive or copyleft categories, notes, and sources from POM or GitHub metadata.
Instructions
Resolve license intelligence for Maven dependencies: SPDX id, category (permissive / weak-copyleft / strong-copyleft / network-copyleft / proprietary / unknown), plain-English notes, and source (pom / github / spdx-normalized). Uses POM plus optional GitHub license metadata; category mapping is a static lookup (no external license API).
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": {
"dependencies": "<dependencies>"
},
"name": "get_dependency_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Project root used to resolve declared repositories. Defaults to the current working directory. | |
| dependencies | Yes | Dependencies to resolve license info for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |