tool

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 9 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 GitHubContentArgs

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

GitHubContentArgs represents arguments for GitHub content retrieval

type GitHubDiffArgs added in v0.1.7

type GitHubDiffArgs struct {
	Repo string `json:"repo"`
	Base string `json:"base"`
	Head string `json:"head"`
}

GitHubDiffArgs represents arguments for getting a diff between two refs

type GitHubGetIssueArgs added in v0.1.7

type GitHubGetIssueArgs struct {
	Repo   string `json:"repo"`
	Number int    `json:"number"`
}

GitHubGetIssueArgs represents arguments for getting a single issue

type GitHubGetPullArgs added in v0.1.7

type GitHubGetPullArgs struct {
	Repo   string `json:"repo"`
	Number int    `json:"number"`
}

GitHubGetPullArgs represents arguments for getting a single pull request

type GitHubGetWorkflowRunArgs added in v0.1.7

type GitHubGetWorkflowRunArgs struct {
	Repo  string `json:"repo"`
	RunID int64  `json:"run_id"`
}

GitHubGetWorkflowRunArgs represents arguments for getting a workflow run

type GitHubListIssuesArgs added in v0.1.7

type GitHubListIssuesArgs struct {
	Repo   string `json:"repo"`
	State  string `json:"state,omitempty"`
	Labels string `json:"labels,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

GitHubListIssuesArgs represents arguments for listing issues

type GitHubListPullsArgs added in v0.1.7

type GitHubListPullsArgs struct {
	Repo  string `json:"repo"`
	State string `json:"state,omitempty"`
	Base  string `json:"base,omitempty"`
	Limit int    `json:"limit,omitempty"`
}

GitHubListPullsArgs represents arguments for listing pull requests

type GitHubListWorkflowRunsArgs added in v0.1.7

type GitHubListWorkflowRunsArgs struct {
	Repo   string `json:"repo"`
	Branch string `json:"branch,omitempty"`
	Status string `json:"status,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

GitHubListWorkflowRunsArgs represents arguments for listing workflow runs

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 OutlineGoPackageArgs added in v0.1.5

type OutlineGoPackageArgs struct {
	Directory        string `json:"directory"`
	SkipDependencies bool   `json:"skip_dependencies,omitempty"`
	SkipDeclarations bool   `json:"skip_declarations,omitempty"`
	SkipCallGraph    bool   `json:"skip_call_graph,omitempty"`
}

OutlineGoPackageArgs represents arguments for the outline_go_package tool.

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 ReadPyDocArgs added in v0.1.5

type ReadPyDocArgs struct {
	ModuleName string `json:"module_name"`
	Offset     int    `json:"offset,omitempty"`
	Limit      int    `json:"limit,omitempty"`
}

type ReadRustDocArgs added in v0.1.5

type ReadRustDocArgs struct {
	CrateURL string `json:"crate_url"`
	Offset   int    `json:"offset,omitempty"`
	Limit    int    `json:"limit,omitempty"`
}

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 SearchPyDocArgs added in v0.1.5

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

type SearchRustDocArgs added in v0.1.5

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

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 SearchWithinPyDocArgs added in v0.1.5

type SearchWithinPyDocArgs struct {
	ModuleName string `json:"module_name"`
	Keyword    string `json:"keyword"`
	MaxMatches int    `json:"max_matches,omitempty"`
}

type SearchWithinRustDocArgs added in v0.1.5

type SearchWithinRustDocArgs struct {
	CrateURL   string `json:"crate_url"`
	Keyword    string `json:"keyword"`
	MaxMatches int    `json:"max_matches,omitempty"`
}

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