Interface IToolAuthorizer
- Namespace
- Emissary
- Assembly
- Emissary.dll
Decides which policy-gated tools the current caller may use. Evaluated once per agent: unauthorized tools are removed before prompt construction and cannot be executed. Implementations typically capture the acting principal (user delegation or service identity).
public interface IToolAuthorizer
Methods
IsAuthorized(ToolDefinition)
Whether the current caller may use the tool.
bool IsAuthorized(ToolDefinition tool)
Parameters
toolToolDefinitionThe tool, including its RequiredPolicy.