Check Purpose Permitted
check_purpose_permittedVerify whether a requested purpose is allowed under source terms, supporting wildcard and hierarchical matching.
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 |