get_license_details
Retrieve comprehensive details for any SPDX license, including full text, permissions, and obligations to ensure compliance.
Instructions
Get comprehensive details about a specific license.
This tool provides complete license information including the full license text for generating NOTICE files and understanding license requirements.
Args: license_id: SPDX license ID (e.g., "Apache-2.0", "MIT", "GPL-3.0") include_full_text: Include full license text (can be long, ~5-20KB)
Returns: License information including: - name: Full license name - type: License category (permissive, copyleft_weak, copyleft_strong, etc.) - properties: Characteristics (OSI approved, FSF free, etc.) - permissions: What you CAN do (commercial use, modify, distribute, etc.) - requirements: What you MUST do (include license, preserve copyright, etc.) - limitations: What is NOT provided (liability, warranty, etc.) - obligations: Specific compliance requirements - full_text: Complete license text (if include_full_text=True, fetched from SPDX API)
Example: For Apache-2.0, returns complete license data including: - Full license text for NOTICE files - Patent grant information - Attribution requirements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| license_id | Yes | ||
| include_full_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |