mcpapi

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallTool

func CallTool(ctx context.Context, svc *projectknowledge.Service, adapter *projectknowledge.PromotionInputAdapter, name string, arguments json.RawMessage) (map[string]any, error)

func IsKnowledgeTool

func IsKnowledgeTool(name string) bool

func ToolDefinitions

func ToolDefinitions() []map[string]any

Types

type KnowledgeList

type KnowledgeList struct {
	Knowledge     []projectknowledge.KnowledgeRecord `json:"knowledge"`
	NextPageToken string                             `json:"next_page_token,omitempty"`
}

Jump to

Keyboard shortcuts

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