Check a use against a license
check_licenseCall before using any image, text, dataset, code, font or model you did not create. Checks one license (any SPDX id; curated readings for common ones, needs_review for the rest) or the license a GitHub, Hugging Face, npm, PyPI, Wikimedia, Unsplash or Pexels page declares (source_url), for your intended use. Returns permitted, prohibited, needs_review or not_documented, with duties and an uncertainty block (what the verdict leaves open; whether a human must review). Free, no key. Call with {"license": "CC-BY-4.0", "intended_use": {"commercial_use": true, "attribution_planned": true}}.
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": {
"intended_use": "<intended_use>"
},
"name": "check_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license | No | SPDX id, e.g. CC-BY-NC-4.0 (uncurated ids answer needs_review) | |
| source_url | No | Instead of license: a page on GitHub, Hugging Face, npm, PyPI, Wikimedia Commons, Unsplash or Pexels; the license it declares is checked | |
| intended_use | Yes | Uses to check: each true flag must be documented; omitted = false; unknown fields refused. For instance {"commercial_use":true} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duties | No | ||
| license | No | ||
| verdict | Yes | ||
| findings | Yes | ||
| uncertainty | No | ||
| uses_evaluated | No |