tools

package
v0.0.0-...-45ed4f2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Unlicense Imports: 28 Imported by: 0

Documentation

Overview

pkg/tools/deployment.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acquire

func Acquire(id string) (*mcp.Tool, error)

func NewAgentTool

func NewAgentTool() *mcp.Tool

NewAgentTool creates a new AgentTool.

func NewAzureCreateSprintTool

func NewAzureCreateSprintTool() *mcp.Tool

func NewAzureCreateWorkItemsTool

func NewAzureCreateWorkItemsTool() *mcp.Tool

func NewAzureEnrichWorkItemTool

func NewAzureEnrichWorkItemTool() *mcp.Tool

func NewAzureExecuteWiqlTool

func NewAzureExecuteWiqlTool() *mcp.Tool

func NewAzureFindItemsByStatusTool

func NewAzureFindItemsByStatusTool() *mcp.Tool

func NewAzureGetGithubFileContentTool

func NewAzureGetGithubFileContentTool() *mcp.Tool

func NewAzureGetSprintsTool

func NewAzureGetSprintsTool() *mcp.Tool

func NewAzureGetWorkItemsTool

func NewAzureGetWorkItemsTool() *mcp.Tool

func NewAzureSearchWorkItemsTool

func NewAzureSearchWorkItemsTool() *mcp.Tool

func NewAzureSprintItemsTool

func NewAzureSprintItemsTool() *mcp.Tool

func NewAzureSprintOverviewTool

func NewAzureSprintOverviewTool() *mcp.Tool

func NewAzureUpdateWorkItemsTool

func NewAzureUpdateWorkItemsTool() *mcp.Tool

func NewAzureWorkItemCommentsTool

func NewAzureWorkItemCommentsTool() *mcp.Tool

func NewBrowserTool

func NewBrowserTool() *mcp.Tool

func NewCatalogTool

func NewCatalogTool() *mcp.Tool

NewCatalogTool returns a new MCP tool for listing available agents. It initializes the tool definition.

func NewDelegateTool

func NewDelegateTool() *mcp.Tool

NewDelegateTool returns a tool definition for delegating a task to another agent.

func NewDockerTool

func NewDockerTool() *mcp.Tool

func NewEditor

func NewEditor() *mcp.Tool

func NewEvaluateTool

func NewEvaluateTool() *mcp.Tool

func NewExecutor

func NewExecutor(
	ctx context.Context, name, args string,
) (string, error)

Types

type AgentTool

type AgentTool struct {
	// contains filtered or unexported fields
}

AgentTool enables agents to dynamically build and deploy new agents.

func (*AgentTool) Handle

Handle retrieves the embedded manifest templates and generates the agent deployment.

func (*AgentTool) RegisterAgentTool

func (at *AgentTool) RegisterAgentTool(srv *server.MCPServer)

RegisterAgentTool registers the AgentTool with the MCP server.

type AzureCreateSprintTool

type AzureCreateSprintTool struct {
	// contains filtered or unexported fields
}

func (*AzureCreateSprintTool) Handle

type AzureCreateWorkItemsTool

type AzureCreateWorkItemsTool struct {
	// contains filtered or unexported fields
}

func (*AzureCreateWorkItemsTool) Handle

type AzureEnrichWorkItemTool

type AzureEnrichWorkItemTool struct {
	// contains filtered or unexported fields
}

func (*AzureEnrichWorkItemTool) Handle

type AzureExecuteWiqlTool

type AzureExecuteWiqlTool struct {
	// contains filtered or unexported fields
}

func (*AzureExecuteWiqlTool) Handle

type AzureFindItemsByStatusTool

type AzureFindItemsByStatusTool struct {
	// contains filtered or unexported fields
}

func (*AzureFindItemsByStatusTool) Handle

type AzureGetGithubFileContentTool

type AzureGetGithubFileContentTool struct {
	// contains filtered or unexported fields
}

func (*AzureGetGithubFileContentTool) Handle

type AzureGetSprintsTool

type AzureGetSprintsTool struct {
	// contains filtered or unexported fields
}

func (*AzureGetSprintsTool) Handle

type AzureGetWorkItemsTool

type AzureGetWorkItemsTool struct {
	// contains filtered or unexported fields
}

func (*AzureGetWorkItemsTool) Handle

type AzureSearchWorkItemsTool

type AzureSearchWorkItemsTool struct {
	// contains filtered or unexported fields
}

func (*AzureSearchWorkItemsTool) Handle

type AzureSprintItemsTool

type AzureSprintItemsTool struct {
	// contains filtered or unexported fields
}

func (*AzureSprintItemsTool) Handle

type AzureSprintOverviewTool

type AzureSprintOverviewTool struct {
	// contains filtered or unexported fields
}

func (*AzureSprintOverviewTool) Handle

type AzureUpdateWorkItemsTool

type AzureUpdateWorkItemsTool struct {
	// contains filtered or unexported fields
}

func (*AzureUpdateWorkItemsTool) Handle

type AzureWorkItemCommentsTool

type AzureWorkItemCommentsTool struct {
	// contains filtered or unexported fields
}

func (*AzureWorkItemCommentsTool) Handle

type BrowserTool

type BrowserTool struct {
	// contains filtered or unexported fields
}

func (*BrowserTool) Handle

func (bt *BrowserTool) Handle(
	ctx context.Context, req mcp.CallToolRequest,
) (*mcp.CallToolResult, error)

func (*BrowserTool) RegisterBrowserTools

func (bt *BrowserTool) RegisterBrowserTools(srv *server.MCPServer)

type CatalogTool

type CatalogTool struct {
	// contains filtered or unexported fields
}

CatalogTool holds the MCP tool definition.

func (*CatalogTool) Handle

func (ct *CatalogTool) Handle(
	ctx context.Context, req mcp.CallToolRequest,
) (*mcp.CallToolResult, error)

Handle executes the catalog tool logic.

func (*CatalogTool) RegisterCatalogTool

func (ct *CatalogTool) RegisterCatalogTool(srv *server.MCPServer)

RegisterCatalogTool adds the catalog tool to the MCP server.

type DelegateTool

type DelegateTool struct {
	// contains filtered or unexported fields
}

func (*DelegateTool) Handle

func (bt *DelegateTool) Handle(
	ctx context.Context, req mcp.CallToolRequest,
) (*mcp.CallToolResult, error)

func (*DelegateTool) RegisterDelegateTools

func (bt *DelegateTool) RegisterDelegateTools(srv *server.MCPServer)

type DockerTool

type DockerTool struct {
	// contains filtered or unexported fields
}

func (*DockerTool) Handle

func (dt *DockerTool) Handle(
	ctx context.Context, req mcp.CallToolRequest,
) (*mcp.CallToolResult, error)

func (*DockerTool) RegisterDockerTools

func (dt *DockerTool) RegisterDockerTools(srv *server.MCPServer)

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

type EvaluateTool

type EvaluateTool struct {
	// contains filtered or unexported fields
}

func (*EvaluateTool) Handle

func (et *EvaluateTool) Handle(
	ctx context.Context, req mcp.CallToolRequest,
) (*mcp.CallToolResult, error)

func (*EvaluateTool) RegisterEvaluateTools

func (et *EvaluateTool) RegisterEvaluateTools(srv *server.MCPServer)

Directories

Path Synopsis
azure

Jump to

Keyboard shortcuts

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