registration

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(server *sdk.Server, tools ...Tool) error

The SDK's descriptor validation is available only through AddTool, which panics on invalid protocol annotations. An unconnected server runs that same admission without publishing a partial catalog or owning any sessions. Descriptors are private snapshots shared by admission and installation.

Types

type Tool

type Tool struct {
	Descriptor *sdk.Tool
	Handler    sdk.ToolHandler
}

Jump to

Keyboard shortcuts

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