toolmeta

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package toolmeta holds the metadata table for the MCP tools registered by the Pulse MCP layer. It is the single public source of truth for tool identity — name + description records — imported by BOTH the descriptor package (to mirror records into the manifest payload) and the MCP core (for its catalog), without either taking a dependency on the other.

The package is pure data: it imports no MCP SDK and no execution package, which lets descriptor source the tool list without producing an import cycle (descriptor is itself imported by the MCP layer, which depends on the root pulse package). The mcp/gosdk adapter's RegisteredTools() mirrors Names(), keeping these values in lockstep with server registration.

Index

Constants

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

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        = "" /* 380-byte string literal not displayed */
	DescPredict        = "" /* 458-byte string literal not displayed */
	DescProcess        = "" /* 1243-byte string literal not displayed */
	DescCompose        = "" /* 765-byte string literal not displayed */
	DescProcessChain   = "" /* 894-byte string literal not displayed */
	DescSample         = "" /* 138-byte string literal not displayed */
	DescFacet          = "" /* 328-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 */
	DescExamplesSearch = "" /* 854-byte string literal not displayed */
	DescExamplesGet    = "" /* 231-byte string literal not displayed */
	DescErrorsLookup   = "" /* 342-byte string literal not displayed */
	DescImport         = "" /* 686-byte string literal not displayed */
	DescDrop           = "" /* 221-byte string literal not displayed */
	DescImportsList    = "" /* 296-byte string literal not displayed */
	DescLabelTables    = "" /* 528-byte string literal not displayed */
	DescLabelResolve   = "" /* 968-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 gosdk.RegisteredTools() for deterministic documentation scans.

Jump to

Keyboard shortcuts

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