Documentation
¶
Index ¶
- func NewSprintTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
- func NewWikiTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
- func NewWorkItemTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
- type APIIterationResponseValue
- type APIIterationsResponse
- type AzureDevOpsConfig
- type AzureProvider
- type OperationHandler
- type SprintOutput
- type SprintTool
- type WikiTool
- type WorkItemTool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSprintTool ¶
func NewSprintTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
func NewWikiTool ¶
func NewWikiTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
func NewWorkItemTool ¶
func NewWorkItemTool(conn *azuredevops.Connection, config AzureDevOpsConfig) core.Tool
NewWorkItemTool creates a new tool instance.
Types ¶
type APIIterationResponseValue ¶
type APIIterationResponseValue struct { ID string `json:"id"` Name string `json:"name"` Path string `json:"path"` // This is the Iteration Path Attributes struct { StartDate *time.Time `json:"startDate"` // Use pointer to handle potential nulls if API sends that FinishDate *time.Time `json:"finishDate"` // Use pointer TimeFrame string `json:"timeFrame"` } `json:"attributes"` }
APIIterationResponseValue defines the structure for parsing individual iteration from Azure DevOps API.
type APIIterationsResponse ¶
type APIIterationsResponse struct { Count int64 `json:"count"` Value []APIIterationResponseValue `json:"value"` }
APIIterationsResponse defines the overall structure for the iterations API response.
type AzureDevOpsConfig ¶
type AzureProvider ¶
func NewAzureProvider ¶
func NewAzureProvider() *AzureProvider
type OperationHandler ¶
type OperationHandler func(context.Context, mcp.CallToolRequest) (*mcp.CallToolResult, error)
OperationHandler defines a function type for handling an operation.
type SprintOutput ¶
type SprintOutput struct { ID string `json:"id"` Name string `json:"name"` IterationPath string `json:"iteration_path"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` }
SprintOutput defines the structure for a single sprint's details for output.
type SprintTool ¶
type SprintTool struct {
// contains filtered or unexported fields
}
func (*SprintTool) Handle ¶
func (tool *SprintTool) Handle() mcp.Tool
func (*SprintTool) Handler ¶
func (tool *SprintTool) Handler(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)
type WikiTool ¶
type WikiTool struct {
// contains filtered or unexported fields
}
func (*WikiTool) Handler ¶
func (tool *WikiTool) Handler(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)
type WorkItemTool ¶
type WorkItemTool struct {
// contains filtered or unexported fields
}
WorkItemTool manages work items.
func (*WorkItemTool) Handle ¶
func (tool *WorkItemTool) Handle() mcp.Tool
func (*WorkItemTool) Handler ¶
func (tool *WorkItemTool) Handler(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error)
Handler dispatches operations based on the "operation" argument.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.