tools

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tools wires the diagnosis pipeline to MCP tools.

Design rule: one tool per SRE question, not one per resource. A resource-shaped surface pushes correlation onto the model across many round-trips, which is the failure mode argus exists to fix.

Index

Constants

This section is empty.

Variables

View Source
var Version = versionOrBuildInfo("0.1.0-dev")

Version is the binary version.

Release builds inject it with -ldflags. That covers the archives the release workflow produces but NOT `go install module@version`, which the README recommends as the primary install path — those binaries carry no ldflags at all and used to report themselves as a dev build, making any bug report against them unattributable to a release.

So an unstamped binary falls back to the module version the Go toolchain recorded at build time.

Functions

func Server

func Server(opts kube.Options) *mcp.Server

Server builds the MCP server with every argus tool registered.

The cluster client is constructed per tool call rather than here, so the server starts and answers server_info even with no kubeconfig — a broken cluster config should surface as one tool erroring, not as a server that will not boot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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