mcptools

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package mcptools holds the metadata table for the MCP tools registered by internal/mcp. It exists solely so the descriptor package can mirror (name, description) records into the manifest payload without taking a dependency on internal/mcp itself — which in turn depends on the root pulse package, producing an import cycle if descriptor imported it directly.

Tool name constants and descriptions are duplicated minimally here; internal/mcp consumes the same constants for server registration so the values stay in lockstep. TestRegisteredToolsMeta_MatchesRegisteredTools in internal/mcp asserts the alignment.

Index

Constants

View Source
const (
	ToolInspect        = "pulse_inspect"
	ToolPredict        = "pulse_predict"
	ToolProcess        = "pulse_process"
	ToolCompose        = "pulse_compose"
	ToolSample         = "pulse_sample"
	ToolFacet          = "pulse_facet"
	ToolFacetSchema    = "pulse_facet_schema"
	ToolSkillsList     = "pulse_skills_list"
	ToolSkillsGet      = "pulse_skills_get"
	ToolManifest       = "pulse_manifest"
	ToolAsk            = "pulse_ask"
	ToolExamplesSearch = "pulse_examples_search"
	ToolExamplesGet    = "pulse_examples_get"
	ToolErrorsLookup   = "pulse_errors_lookup"
	ToolImport         = "pulse_import"
	ToolDrop           = "pulse_drop"
	ToolImportsList    = "pulse_imports_list"
)

Tool name constants. Kept in alphabetical-by-constant order so the Meta() slice can be sorted by Name for deterministic manifest output while the constants themselves remain easy to maintain.

View Source
const (
	DescInspect        = "" /* 395-byte string literal not displayed */
	DescPredict        = "" /* 404-byte string literal not displayed */
	DescProcess        = "" /* 1096-byte string literal not displayed */
	DescCompose        = "" /* 355-byte string literal not displayed */
	DescSample         = "" /* 128-byte string literal not displayed */
	DescFacet          = "" /* 344-byte string literal not displayed */
	DescFacetSchema    = "" /* 790-byte string literal not displayed */
	DescSkillsList     = "" /* 497-byte string literal not displayed */
	DescSkillsGet      = "" /* 277-byte string literal not displayed */
	DescManifest       = "" /* 862-byte string literal not displayed */
	DescAsk            = "" /* 1497-byte string literal not displayed */
	DescExamplesSearch = "" /* 854-byte string literal not displayed */
	DescExamplesGet    = "" /* 231-byte string literal not displayed */
	DescErrorsLookup   = "" /* 342-byte string literal not displayed */
	DescImport         = "" /* 690-byte string literal not displayed */
	DescDrop           = "" /* 221-byte string literal not displayed */
	DescImportsList    = "" /* 296-byte string literal not displayed */
)

Description constants for the registered tools.

Variables

This section is empty.

Functions

func Names

func Names() []string

Names returns the tool identifier list (no descriptions) in the same order as Meta(). Stable.

Types

type ToolMeta

type ToolMeta struct {
	Name        string
	Description string
}

ToolMeta is the canonical (name, description) record for one registered MCP tool.

func Meta

func Meta() []ToolMeta

Meta returns the canonical list of MCP tool metadata. Order matches internal/mcp.RegisteredTools() for deterministic documentation scans.

Jump to

Keyboard shortcuts

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