license_tree
Map direct and first-level transitive dependencies with license annotations to trace which parent package pulls in a problematic license.
Instructions
[INSTRUCTIONS] Call this for a detailed view of direct and their immediate dependencies with licenses. Resolves one level of transitive dependencies — useful for tracing which parent pulls in a problematic license. For a faster summary without transitive deps, use license.audit instead.
Show direct + first-level transitive dependencies with license annotations [READ-ONLY]
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": "license_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dependencies | Yes | JSON string of the dependencies object from package.json | |
| dev_dependencies | No | JSON string of the devDependencies object from package.json |