tools

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tools provides MCP tool definitions and HTTP helpers for the triage bot.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	Def     mcp.ToolDef
	Handler mcp.ToolHandler
}

Tool wraps a tool definition and its handler together.

func NewBriefPreviewTool added in v0.1.1

func NewBriefPreviewTool(baseURL, secret string) Tool

NewBriefPreviewTool returns a Tool that calls the /brief-preview endpoint for hat-aware retrieval context on a single issue. The response shape is {class, similar_past_issues, docs, regression_prs, upstream_candidates}.

func NewHealthStatusTool

func NewHealthStatusTool(baseURL, secret string) Tool

NewHealthStatusTool returns a Tool that calls the /health-check endpoint.

func NewPendingTriageTool

func NewPendingTriageTool(baseURL, secret string) Tool

NewPendingTriageTool returns a Tool that calls the /report endpoint.

func NewReportTrendsTool

func NewReportTrendsTool(baseURL, secret string) Tool

NewReportTrendsTool returns a Tool that calls the /report/trends endpoint.

func NewSynthesisBriefingTool

func NewSynthesisBriefingTool(baseURL, secret string) Tool

NewSynthesisBriefingTool returns a Tool that fetches the last 4 weeks of synthesis findings.

Jump to

Keyboard shortcuts

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