MCPcopy Create free account
hub / github.com/bytebase/bytebase / registerSkillTool

Method registerSkillTool

backend/api/mcp/tool_skill.go:39–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37Skills: query, database-change, grant-permission`
38
39func (s *Server) registerSkillTool() {
40 mcp.AddTool(s.mcpServer, &mcp.Tool{
41 Name: "get_skill",
42 Description: getSkillDescription,
43 }, s.handleGetSkill)
44}
45
46func (s *Server) handleGetSkill(_ context.Context, _ *mcp.CallToolRequest, input SkillInput) (*mcp.CallToolResult, any, error) {
47 if input.Skill == "" {

Callers 1

registerToolsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected