Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCPToolInjectionTransform ¶
type MCPToolInjectionTransform struct {
// contains filtered or unexported fields
}
MCPToolInjectionTransform injects enabled server-side MCP tools into requests.
func NewMCPToolInjectionTransform ¶
func NewMCPToolInjectionTransform(rt *runtime.Runtime) *MCPToolInjectionTransform
func (*MCPToolInjectionTransform) Apply ¶
func (t *MCPToolInjectionTransform) Apply(ctx *protocoltransform.TransformContext) error
func (*MCPToolInjectionTransform) Name ¶
func (t *MCPToolInjectionTransform) Name() string
type MCPToolStripGuardTransform ¶
type MCPToolStripGuardTransform struct {
// contains filtered or unexported fields
}
MCPToolStripGuardTransform strips disabled MCP tool declarations/tool calls when enabled.
func NewMCPToolStripGuardTransform ¶
func NewMCPToolStripGuardTransform(rt *runtime.Runtime, stripEnabled bool) *MCPToolStripGuardTransform
func (*MCPToolStripGuardTransform) Apply ¶
func (t *MCPToolStripGuardTransform) Apply(ctx *protocoltransform.TransformContext) error
func (*MCPToolStripGuardTransform) Name ¶
func (t *MCPToolStripGuardTransform) Name() string
type NativeWebSearchStripTransform ¶ added in v0.260514.1
type NativeWebSearchStripTransform struct {
// contains filtered or unexported fields
}
NativeWebSearchStripTransform removes native web_search / web_fetch tool definitions from upstream requests when tingly-box's own MCP equivalents are enabled and ready.
This prevents the LLM from selecting Anthropic's built-in web tools (which require a Claude Code subscription) when our MCP-backed versions are available via Serper/Jina.
func NewNativeWebSearchStripTransform ¶ added in v0.260514.1
func NewNativeWebSearchStripTransform(rt *runtime.Runtime) *NativeWebSearchStripTransform
func (*NativeWebSearchStripTransform) Apply ¶ added in v0.260514.1
func (t *NativeWebSearchStripTransform) Apply(ctx *protocoltransform.TransformContext) error
func (*NativeWebSearchStripTransform) Name ¶ added in v0.260514.1
func (t *NativeWebSearchStripTransform) Name() string