system

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetDashboardInfo = "get_dashboard_info"
)
View Source
const (
	GetSystemInfo = "get_system_info"
)

Variables

View Source
var GetDashboardInfoTool = mcp.NewTool(GetDashboardInfo, mcp.WithDescription(
	"show dashboard info"))
View Source
var GetSystemInfoTool = mcp.NewTool(GetSystemInfo, mcp.WithDescription(
	"show host system information, The unit of diskSize is bytes"))

Functions

func GetDashboardInfoHandle

func GetDashboardInfoHandle(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

func GetSystemInfoHandle

func GetSystemInfoHandle(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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