config

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextInfo added in v0.0.63

type ContextInfo struct {
	Name    string `json:"name"`
	Server  string `json:"server"`
	Default bool   `json:"default"`
}

ContextInfo describes a single kubeconfig context entry in the configuration_contexts_list tool's structured content payload.

This is part of the tool's public wire contract: the JSON field tags are observed by MCP clients and must not be renamed without a coordinated migration. See docs/specs/structured-output.md for the repo-wide structured-content conventions.

type ContextsListResult added in v0.0.63

type ContextsListResult struct {
	DefaultContext string        `json:"defaultContext"`
	Contexts       []ContextInfo `json:"contexts"`
}

ContextsListResult is the structured-content payload returned by the configuration_contexts_list tool.

This is part of the tool's public wire contract: the JSON field tags are observed by MCP clients and must not be renamed without a coordinated migration. See docs/specs/structured-output.md.

type Toolset

type Toolset struct{}

func (*Toolset) GetDescription

func (t *Toolset) GetDescription() string

func (*Toolset) GetName

func (t *Toolset) GetName() string

func (*Toolset) GetPrompts added in v0.0.56

func (t *Toolset) GetPrompts() []api.ServerPrompt

func (*Toolset) GetResourceTemplates added in v0.0.62

func (t *Toolset) GetResourceTemplates() []api.ServerResourceTemplate

func (*Toolset) GetResources added in v0.0.62

func (t *Toolset) GetResources() []api.ServerResource

func (*Toolset) GetTools

func (t *Toolset) GetTools(_ api.FilteringProvider) []api.ServerTool

Jump to

Keyboard shortcuts

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