mcpname

package
v0.2.65 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canonical

func Canonical(raw string) string

Canonical normalises a tool name to service_path-method. Supported inputs:

  • canonical itself (service_path-method)
  • service/path.method
  • service/path-method
  • service/path/method
  • service/path:method (extended)

Types

type Name

type Name string

Name represents canonical tool name service_path-method.

func NewName

func NewName(service, name string) Name

func (Name) Method

func (t Name) Method() string

func (Name) Service

func (t Name) Service() string

func (Name) String

func (t Name) String() string

func (Name) ToolName

func (t Name) ToolName() string

Jump to

Keyboard shortcuts

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