Check a license
check_licenseUse this when the user asks about an open-source license, such as "is the MIT license OSI approved?" or "what is the SPDX id of Apache License 2.0?". Pass an SPDX identifier or the license name. Returns the SPDX id, full name, whether it is OSI approved, whether the FSF lists it as free, whether the id is deprecated, and the SPDX page. If the name matches several licenses it returns candidates to choose from. It identifies a license and does not say what the license permits or requires. It is not legal advice.
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": "check_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license | Yes | SPDX identifier such as "MIT" or "Apache-2.0", or the license name such as "Apache License 2.0" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | Date of the source data when it states one, otherwise the date it was read (UTC, YYYY-MM-DD) | |
| error | No | Present when status is not ok: a stable code, what went wrong and what to do next. | |
| query | Yes | ||
| notice | No | ||
| source | Yes | Where the data comes from | |
| status | Yes | ||
| license | No | ||
| candidates | No |