Public declaration syntax from forge-swift/Sources/ForgeAuth/ToolAuth.swift Original source SHA-256: 44effceea9c7c8abfc08ebedcbe18a98b6b69cb992cca5fd66e443a95a916161 Function bodies and constant values are omitted. This is not the complete implementation. Source line 32 public struct ToolAuthorizationRequest: Sendable Source line 34 public let agentDid: AgentDid /// The tool being invoked. public let toolName: String /// The tool tier. public let toolTier: ToolTier /// The ACT to check against, or `nil` for legacy mode. public let act: ArsenalACT? /// Creates a new tool authorization request. /// /// - Parameters: /// - agentDid: The agent's OAS DID. /// - toolName: The tool being invoked. /// - toolTier: The tool tier classification. /// - act: The Arsenal ACT to check, or `nil` for legacy mode. public init(agentDid: AgentDid, toolName: String, toolTier: ToolTier, act: ArsenalACT?) Source line 36 public let toolName: String /// The tool tier. public let toolTier: ToolTier /// The ACT to check against, or `nil` for legacy mode. public let act: ArsenalACT? /// Creates a new tool authorization request. /// /// - Parameters: /// - agentDid: The agent's OAS DID. /// - toolName: The tool being invoked. /// - toolTier: The tool tier classification. /// - act: The Arsenal ACT to check, or `nil` for legacy mode. public init(agentDid: AgentDid, toolName: String, toolTier: ToolTier, act: ArsenalACT?) Source line 38 public let toolTier: ToolTier /// The ACT to check against, or `nil` for legacy mode. public let act: ArsenalACT? /// Creates a new tool authorization request. /// /// - Parameters: /// - agentDid: The agent's OAS DID. /// - toolName: The tool being invoked. /// - toolTier: The tool tier classification. /// - act: The Arsenal ACT to check, or `nil` for legacy mode. public init(agentDid: AgentDid, toolName: String, toolTier: ToolTier, act: ArsenalACT?) Source line 40 public let act: ArsenalACT? /// Creates a new tool authorization request. /// /// - Parameters: /// - agentDid: The agent's OAS DID. /// - toolName: The tool being invoked. /// - toolTier: The tool tier classification. /// - act: The Arsenal ACT to check, or `nil` for legacy mode. public init(agentDid: AgentDid, toolName: String, toolTier: ToolTier, act: ArsenalACT?) Source line 49 public init(agentDid: AgentDid, toolName: String, toolTier: ToolTier, act: ArsenalACT?) Source line 68 public enum ToolAuthorizationDecision: Sendable, Equatable Source line 97 public var isAllowed: Bool Source line 107 public var isDenied: Bool Source line 113 public var isLegacyMode: Bool Source line 128 public struct ToolAuthorizer: Sendable Source line 131 public init() Source line 153 public func authorize(_ request: ToolAuthorizationRequest) throws -> ToolAuthorizationDecision Source line 228 public func authorizeToolInvocation(_ request: ToolAuthorizationRequest) throws -> ToolAuthorizationDecision