Documentation ¶ Overview ¶ Package list implements the file listing tool. Index ¶ func Handler(_ context.Context, _ *mcp.CallToolRequest, args Params) (*mcp.CallToolResult, any, error) func Register(server *mcp.Server) type Params Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handler ¶ func Handler(_ context.Context, _ *mcp.CallToolRequest, args Params) (*mcp.CallToolResult, any, error) 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. Source Files ¶ View all Source files list.go Click to show internal directories. Click to hide internal directories.