mcpapi

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidInput = errors.New("invalid project work plan input")
	ErrNotFound     = errors.New("project work plan resource not found")
)

Functions

func CallTool

func CallTool(ctx context.Context, api API, name string, arguments json.RawMessage) (map[string]any, error)

func IsWorkPlanTool

func IsWorkPlanTool(name string) bool

func ToolDefinitions

func ToolDefinitions() []map[string]any

Types

type API

type API interface {
	CallWorkPlanTool(ctx context.Context, name string, arguments json.RawMessage) (any, error)
}

Jump to

Keyboard shortcuts

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