Documentation
¶
Overview ¶
Package mcp defines the MCP capabilities and lifecycle contracts exposed to xdatly handlers without coupling them to a Datly runtime implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client interface {
CanElicit() bool
CanGenerateContent() bool
Elicit(ctx context.Context, params *schema.ElicitRequestParams) (*schema.ElicitResult, error)
GenerateContent(ctx context.Context, params *schema.CreateMessageRequestParams) (*schema.CreateMessageResult, error)
}
Client exposes the MCP client capabilities available to a handler hook.
type Context ¶
type Context interface {
Client() Client
}
Context carries request-scoped MCP capabilities.
Click to show internal directories.
Click to hide internal directories.