check_purpose_permitted
Verify if a purpose is permitted under source terms. Uses wildcard and hierarchical matching to determine access.
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 |