list

package
v0.0.0-...-8b3e11c Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package list implements the file listing tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Register

func Register(server *mcp.Server)

Register registers the tool with the server.

Types

type Params

type Params struct {
	Path  string `json:"path" jsonschema:"The root path to list (default: .)"`
	Depth int    `json:"depth,omitempty" jsonschema:"Maximum recursion depth (0 for default of 5, 1 for non-recursive)"`
}

Params defines the input parameters.

Jump to

Keyboard shortcuts

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