Explain what a license requires
explain_licenseGiven an SPDX license identifier or expression, explain what it requires across every shipping model at once. Use when the question is about the license itself rather than a specific package — for example when comparing AGPL-3.0 against GPL-3.0 for a hosted service, or deciding what a project may safely depend on.
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": {
"license": "<license>"
},
"name": "explain_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license | Yes | SPDX identifier or expression, e.g. "AGPL-3.0-only", "Apache-2.0", or "(MIT OR GPL-2.0-only)". | |
| linkage | No | How the dependency is linked. Matters for LGPL-family licenses. Compiled languages such as Go and Rust normally link statically. Defaults to "dynamic". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license | Yes | ||
| linkage | No | ||
| devScope | Yes | The result when the dependency never reaches users (dev, build or test scope). Independent of the shipping model. | |
| byDistributionModel | Yes | One row per way of shipping. This is where the same license diverges. |