Documentation
¶
Overview ¶
Package mcptool provides a tool.Tool implementation that proxies calls to an MCP server tool through the conduit MCP manager.
Index ¶
- func RegisterAll(reg *tool.Registry, manager *mcp.Manager)
- type MCPTool
- func (t *MCPTool) Description() string
- func (t *MCPTool) Execute(ctx context.Context, input json.RawMessage) (tool.Result, error)
- func (t *MCPTool) InputSchema() json.RawMessage
- func (t *MCPTool) IsConcurrencySafe(_ json.RawMessage) bool
- func (t *MCPTool) IsReadOnly(_ json.RawMessage) bool
- func (t *MCPTool) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MCPTool ¶
type MCPTool struct {
// contains filtered or unexported fields
}
MCPTool wraps a single MCP server tool as a tool.Tool.
func (*MCPTool) Description ¶
func (*MCPTool) InputSchema ¶
func (t *MCPTool) InputSchema() json.RawMessage
func (*MCPTool) IsConcurrencySafe ¶
func (t *MCPTool) IsConcurrencySafe(_ json.RawMessage) bool
func (*MCPTool) IsReadOnly ¶
func (t *MCPTool) IsReadOnly(_ json.RawMessage) bool
Click to show internal directories.
Click to hide internal directories.