Public declaration syntax from forge-go/auth/tool_auth.go Original source SHA-256: 1e7d3c45176f39c794243c244343e3377cf7c8a631058ca2c42a73b450d541dc Function bodies and constant values are omitted. This is not the complete implementation. Source line 11 type ToolTier int const ( // ToolTierPlatform (Tier 1) tools run inside the sandbox and are always // available without authorization. ToolTierPlatform ToolTier; Source line 28 func (t ToolTier) String() string Source line 45 func (t ToolTier) RequiresAuthorization() bool Source line 53 type ToolAuthorizationRequest struct Source line 71 type ToolAuthorizationDecision int const ( // Allowed indicates the tool invocation is authorized. Allowed ToolAuthorizationDecision; Source line 86 func (d ToolAuthorizationDecision) String() string Source line 101 type ToolAuthorizationResult struct Source line 132 func AuthorizeToolInvocation(req ToolAuthorizationRequest) (*ToolAuthorizationResult, error) Source line 194 func BuildToolScope(toolName string) string