check_purpose_permitted
Determine if a purpose is permitted under source terms using wildcards and hierarchy.
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 |