Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct {
Host string `json:"host,omitempty" validate:"omitempty,hostname|ip"`
Port int `json:"port,omitempty" validate:"min=0,max=65535"`
Command string `json:"command,omitempty" validate:"max=4096"`
MaxLines int `json:"max_lines,omitempty" validate:"min=0,max=100000"` // Maximum lines to return (default: 1000)
Offset int `json:"offset,omitempty" validate:"min=0"` // Line offset for pagination
}
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
func (*Tool) DelveHandler ¶
func (d *Tool) DelveHandler(ctx context.Context, _ *mcp.ServerSession, params *mcp.CallToolParamsFor[Input]) (*mcp.CallToolResultFor[Output], error)
Click to show internal directories.
Click to hide internal directories.