Documentation
¶
Index ¶
- type ContextInfo
- type ContextsListResult
- type Toolset
- func (t *Toolset) GetDescription() string
- func (t *Toolset) GetName() string
- func (t *Toolset) GetPrompts() []api.ServerPrompt
- func (t *Toolset) GetResourceTemplates() []api.ServerResourceTemplate
- func (t *Toolset) GetResources() []api.ServerResource
- func (t *Toolset) GetTools(_ api.FilteringProvider) []api.ServerTool
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 (*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