Documentation ¶ Index ¶ Variables func CallTool(ctx context.Context, api API, name string, arguments json.RawMessage) (map[string]any, error) func IsWorkflowChainTool(name string) bool func ToolDefinitions() []map[string]any type API Constants ¶ This section is empty. Variables ¶ View Source var ( ErrInvalidInput = errors.New("invalid project workflow chain input") ErrNotFound = errors.New("project workflow chain resource not found") ) Functions ¶ func CallTool ¶ func CallTool(ctx context.Context, api API, name string, arguments json.RawMessage) (map[string]any, error) func IsWorkflowChainTool ¶ func IsWorkflowChainTool(name string) bool func ToolDefinitions ¶ func ToolDefinitions() []map[string]any Types ¶ type API ¶ type API interface { CallWorkflowChainTool(ctx context.Context, name string, arguments json.RawMessage) (any, error) } Source Files ¶ View all Source files mcpapi.go Click to show internal directories. Click to hide internal directories.