Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy wraps an MCP client to normalize tool names and provide simple helpers.
func (*Proxy) CallTool ¶
func (p *Proxy) CallTool(ctx context.Context, name string, args map[string]interface{}, opts ...mcpclient.RequestOption) (*mcpschema.CallToolResult, error)
CallTool normalizes name and dispatches to the underlying client.
func (*Proxy) ListAllTools ¶
func (p *Proxy) ListAllTools(ctx context.Context, opts ...mcpclient.RequestOption) ([]mcpschema.Tool, error)
ListAllTools returns all tools for the server by paging through cursors.
Click to show internal directories.
Click to hide internal directories.