Versions in this module Expand all Collapse all v0 v0.31.0 Feb 19, 2026 Changes in this version + func GetExcludeTools(ctx context.Context) []string + func GetGraphQLFeatures(ctx context.Context) []string + func GetHeaderFeatures(ctx context.Context) []string + func GetTokenScopes(ctx context.Context) ([]string, bool) + func GetTools(ctx context.Context) []string + func GetToolsets(ctx context.Context) []string + func IsInsidersMode(ctx context.Context) bool + func IsLockdownMode(ctx context.Context) bool + func IsReadonly(ctx context.Context) bool + func WithExcludeTools(ctx context.Context, tools []string) context.Context + func WithGraphQLFeatures(ctx context.Context, features ...string) context.Context + func WithHeaderFeatures(ctx context.Context, features []string) context.Context + func WithInsidersMode(ctx context.Context, enabled bool) context.Context + func WithLockdownMode(ctx context.Context, enabled bool) context.Context + func WithMCPMethodInfo(ctx context.Context, info *MCPMethodInfo) context.Context + func WithReadonly(ctx context.Context, enabled bool) context.Context + func WithTokenInfo(ctx context.Context, tokenInfo *TokenInfo) context.Context + func WithTokenScopes(ctx context.Context, scopes []string) context.Context + func WithTools(ctx context.Context, tools []string) context.Context + func WithToolsets(ctx context.Context, toolsets []string) context.Context + type MCPMethodInfo struct + Arguments map[string]any + ItemName string + Method string + Owner string + Repo string + func MCPMethod(ctx context.Context) (*MCPMethodInfo, bool) + type TokenInfo struct + Token string + TokenType utils.TokenType + func GetTokenInfo(ctx context.Context) (*TokenInfo, bool)