Public declaration syntax from forge-py/src/forge/auth/tool_auth.py Original source SHA-256: b30acd4be7fb7f350dc0a546c20da34756956b084242088e684b142d6c4d335b Function bodies and constant values are omitted. This is not the complete implementation. Source line 31 class ToolAuthorizationDecision(Enum) Source line 55 def is_allowed(self) -> bool Source line 65 def is_denied(self) -> bool Source line 73 def is_legacy_mode(self) -> bool Source line 83 class ToolAuthorizationRequest() Source line 116 class ToolAuthorizationResult() Source line 138 def build_tool_scope(tool_name: str) -> str Source line 156 def authorize_tool_invocation(request: ToolAuthorizationRequest) -> ToolAuthorizationResult Source line 232 class ToolAuthorizer() Source line 252 def __init__(self, act: ArsenalACT | None, agent_did: str) -> None Source line 257 def act(self) -> ArsenalACT | None Source line 266 def agent_did(self) -> str Source line 275 def is_legacy_mode(self) -> bool Source line 283 def authorize(self, tool_name: str, tool_tier: ToolTier) -> ToolAuthorizationResult Source line 311 def update_act(self, act: ArsenalACT) -> None