check_purpose_permitted
Determine if a requested purpose is allowed under source terms, using wildcard and hierarchical matching to validate compliance.
Instructions
Check if a purpose is permitted under source terms. Supports wildcards (research:*) and hierarchical matching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | Yes | Purpose to check (e.g. research:academic, training:model) | |
| allowedPurposes | Yes | Purposes allowed by the source terms |