Documentation
¶
Index ¶
- Constants
- func ColorConversion(ctx context.Context, req *mcp.CallToolRequest, input colorInput) (*mcp.CallToolResult, *colorOutput, error)
- func GetCurrentTime(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *currentTimeOutput, error)
- func GetIPAddress(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *ipAddressOutput, error)
- func ListInstalledApps(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *listInstalledAppsOutput, error)
- func ListOldDownloads(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *listOldDownloadsOutput, error)
- func OpenInBrowser(ctx context.Context, req *mcp.CallToolRequest, input openInBrowserInput) (*mcp.CallToolResult, *openInBrowserOutput, error)
Constants ¶
View Source
const ( RedLuminance = 0.2126 GreenLuminance = 0.7152 BlueLuminance = 0.0722 )
Luminance coefficients for relative luminance calculation (ITU-R BT.709)
Variables ¶
This section is empty.
Functions ¶
func ColorConversion ¶
func ColorConversion(ctx context.Context, req *mcp.CallToolRequest, input colorInput) (*mcp.CallToolResult, *colorOutput, error)
ColorConversion converts CSS color values to various color formats
func GetCurrentTime ¶
func GetCurrentTime(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *currentTimeOutput, error)
func GetIPAddress ¶
func GetIPAddress(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *ipAddressOutput, error)
GetIPAddress returns the current computer's IP addresses
func ListInstalledApps ¶
func ListInstalledApps(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *listInstalledAppsOutput, error)
func ListOldDownloads ¶
func ListOldDownloads(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, *listOldDownloadsOutput, error)
ListOldDownloads lists files in the Download directory that haven't been accessed in a long time.
func OpenInBrowser ¶
func OpenInBrowser(ctx context.Context, req *mcp.CallToolRequest, input openInBrowserInput) (*mcp.CallToolResult, *openInBrowserOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.