cloud

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolGetGraphqlSchemaName = "cloud-get-graphql-schema"
	//nolint:lll
	ToolGetGraphqlSchemaInstructions = `` /* 253-byte string literal not displayed */
)
View Source
const (
	ToolGraphqlQueryName = "cloud-graphql-query"
	//nolint:lll
	ToolGraphqlQueryInstructions = `` /* 583-byte string literal not displayed */
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphqlQueryRequest added in v0.0.3

type GraphqlQueryRequest struct {
	Query     string         `json:"query"`
	Variables map[string]any `json:"variables,omitempty"`
}

type Tool

type Tool struct {
	// contains filtered or unexported fields
}

func NewTool

func NewTool(
	graphqlURL string,
	withMutations bool,
	interceptors ...func(ctx context.Context, req *http.Request) error,
) *Tool

func (*Tool) Register

func (t *Tool) Register(mcpServer *server.MCPServer) error

Jump to

Keyboard shortcuts

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