The actual ITool instance for which permission is being checked.
This provides access to tool metadata like id, name, and requiredCapabilities.
The unique identifier of the active Persona within the GMI that is attempting to use the tool.
An array of capability strings (e.g., "filesystem:read", "api:weather") currently possessed by the active Persona.
The context of the end-user associated with the current request,
which may include userId, preferences, skill level, etc.
Optional gmiOptional. The unique identifier of the GMI instance making the request. Useful for logging or more granular GMI-specific rules.
Represents the context required for making a permission decision for tool usage. This object aggregates all necessary information that the
IToolPermissionManagerneeds to evaluate whether a tool call should be allowed.PermissionCheckContext