Check the licences of a project's dependencies
check_licencesLooks up the licence of every package version in a project's lockfiles (deps.dev, else the lockfile itself) and says which ones to look at first for this kind of project: copyleft in software you ship, AGPL in a hosted service, packages with no licence, licences that changed between versions. Works without an API token. Not legal advice. Package names and versions are sent to deps.dev; the files themselves are not stored.
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": {
"files": "<files>",
"project_kind": "<project_kind>"
},
"name": "check_licences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| project_kind | Yes | proprietary_app: A closed-source app shipped to customers (desktop, mobile, on-premises, firmware); saas: A hosted service or website (SaaS, web app, API); library_permissive: An open-source library under a permissive licence; library_copyleft: An open-source project under a copyleft licence; internal_only: An internal tool, never distributed outside the organisation; unsure: Not sure |