List Licenses
list_licensesList SPDX licenses with optional filters (OSI-approved, FSF Free/Libre, deprecated).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"osiApproved": true
},
"name": "list_licenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fsfLibre | No | ||
| deprecated | No | Include deprecated. Default false. | |
| osiApproved | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of licenses in filtered results | |
| licenses | Yes | ||
| releaseDate | Yes | Release date of the license list | |
| licenseListVersion | Yes | Version of the SPDX license list |