tools

package
v0.0.0-...-16eabce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL