shell

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *mcp.Server, timeout int)

Types

type ShellExecuteInput

type ShellExecuteInput struct {
	Command    string `` /* 212-byte string literal not displayed */
	WorkingDir string `` /* 248-byte string literal not displayed */
	Timeout    int    `` /* 198-byte string literal not displayed */
}

type ShellExecuteOutput

type ShellExecuteOutput struct {
	Output   string `` /* 131-byte string literal not displayed */
	ExitCode int    `json:"exit_code" jsonschema:"Command exit code. 0 typically indicates success, non-zero indicates an error."`
}

Jump to

Keyboard shortcuts

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