transform

package
v0.260625.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: MPL-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 (*MCPToolInjectionTransform) Name

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 (*MCPToolStripGuardTransform) Name

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 (*NativeWebSearchStripTransform) Name added in v0.260514.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL