Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallToolRequest ¶
type CallToolRequest struct {
Name string `json:"name"`
Arguments json.RawMessage `json:"arguments,omitempty"`
}
type CallToolResult ¶
type CallToolResult struct {
Content []Content `json:"content,omitempty"`
StructuredContent json.RawMessage `json:"structuredContent,omitempty"`
IsError bool `json:"isError,omitempty"`
}
type Client ¶
type Client interface {
ListTools(ctx context.Context) ([]Tool, error)
CallTool(ctx context.Context, req CallToolRequest) (CallToolResult, error)
}
Click to show internal directories.
Click to hide internal directories.