protocol

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCmd

func NewGetCmd(f *cmdutil.Factory) *cobra.Command

func NewListCmd

func NewListCmd(f *cmdutil.Factory) *cobra.Command

func NewProtocolCmd

func NewProtocolCmd(f *cmdutil.Factory) *cobra.Command

Types

type ActionDetail added in v0.8.0

type ActionDetail struct {
	ActionType  string            `json:"actionType"`
	Label       string            `json:"label"`
	Description string            `json:"description"`
	Fields      map[string]string `json:"requiredFields,omitempty"`
}

ActionDetail holds a single action's metadata for display.

type Protocol

type Protocol struct {
	Name        string `json:"name"`
	ActionCount int    `json:"actionCount"`
}

Protocol represents a grouped set of actions under one integration.

type ProtocolDetail added in v0.8.0

type ProtocolDetail struct {
	Name    string         `json:"name"`
	Actions []ActionDetail `json:"actions"`
}

ProtocolDetail holds a protocol name and its actions for the get command.

type SchemaAction added in v0.8.0

type SchemaAction struct {
	ActionType  string `json:"actionType"`
	Label       string `json:"label"`
	Description string `json:"description"`
	Category    string `json:"category"`
	Integration string `json:"integration"`
}

SchemaAction represents a single action from the schemas API.

type SchemasResponse

type SchemasResponse struct {
	Actions map[string]SchemaAction `json:"actions"`
}

SchemasResponse is the shape of the /api/mcp/schemas response.

Jump to

Keyboard shortcuts

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