tool

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 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 *server.MCPServer, workdir string) error

Types

type ExtractCallGraphArgs

type ExtractCallGraphArgs struct {
	FilePath string `json:"file_path"`
}

ExtractCallGraphArgs represents arguments for extracting call graph

type ExtractDeclarationsArgs

type ExtractDeclarationsArgs struct {
	Directory string `json:"directory"`
}

ExtractDeclarationsArgs represents arguments for extracting declarations

type ExtractPackageDependenciesArgs

type ExtractPackageDependenciesArgs struct {
	Directory string `json:"directory"`
}

ExtractPackageDependenciesArgs represents arguments for extracting package dependencies

type GitHubContentArgs

type GitHubContentArgs struct {
	Repo   string `json:"repo"`
	Path   string `json:"path"`
	Offset int    `json:"offset,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

GitHubContentArgs represents arguments for GitHub content retrieval

type GitHubTreeArgs

type GitHubTreeArgs struct {
	Repo      string `json:"repo"`
	Path      string `json:"path"`
	IgnoreDot bool   `json:"ignore_dot"`
	MaxDepth  int    `json:"max_depth,omitempty"`
}

GitHubTreeArgs represents arguments for GitHub tree display

type ReadGoDocArgs

type ReadGoDocArgs struct {
	PackageURL string `json:"package_url"`
	Offset     int    `json:"offset,omitempty"`
	Limit      int    `json:"limit,omitempty"`
}

ReadGoDocArgs represents arguments for reading Go documentation

type ScanMarkdownArgs

type ScanMarkdownArgs struct {
	Path string `json:"path"`
}

ScanMarkdownArgs represents arguments for markdown file scanning

type SearchCodeGitHubArgs

type SearchCodeGitHubArgs struct {
	Query    string `json:"query"`
	Language string `json:"language"`
	Repo     string `json:"repo"`
}

SearchCodeGitHubArgs represents arguments for GitHub code search

type SearchGoDocArgs

type SearchGoDocArgs struct {
	Query string `json:"query"`
}

SearchGoDocArgs represents arguments for Go documentation search

type SearchLocalFilesArgs

type SearchLocalFilesArgs struct {
	Path       string `json:"path"`
	Query      string `json:"query"`
	Extension  string `json:"extension"`
	MaxMatches int    `json:"max_matches,omitempty"`
}

SearchLocalFilesArgs represents arguments for local file search

type SearchWithinGoDocArgs

type SearchWithinGoDocArgs struct {
	PackageURL string `json:"package_url"`
	Keyword    string `json:"keyword"`
	MaxMatches int    `json:"max_matches,omitempty"`
}

SearchWithinGoDocArgs represents arguments for searching within Go documentation

type TreeDirArgs

type TreeDirArgs struct {
	RootDir   string `json:"root_dir"`
	IgnoreDot bool   `json:"ignore_dot"`
	MaxDepth  int    `json:"max_depth,omitempty"`
}

TreeDirArgs represents arguments for directory tree listing

type ValidateGoCodeArgs

type ValidateGoCodeArgs struct {
	Directory string `json:"directory"`
}

ValidateGoCodeArgs represents the request parameters for Go code validation

Jump to

Keyboard shortcuts

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