Get License
get_licenseGet metadata + descriptors for one SPDX license id (e.g. "MIT", "Apache-2.0", "GPL-3.0-or-later").
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": {
"id": "MIT"
},
"name": "get_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full license name | |
| seeAlso | No | Cross-reference URLs | |
| licenseId | No | SPDX license identifier | |
| reference | No | Reference URL | |
| detailsUrl | No | Details URL | |
| isFsfLibre | No | Whether FSF Free/Libre | |
| licenseText | No | Full license text | |
| isOsiApproved | No | Whether OSI approved | |
| referenceNumber | No | Reference number | |
| isDeprecatedLicenseId | No | Whether license is deprecated | |
| standardLicenseHeader | No | Standard license header if available |