tools

package
v2026.610.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAgentToolDump added in v2026.610.0

func BuildAgentToolDump() (string, error)

func BuildBuildToolDump

func BuildBuildToolDump() (string, error)

func BuildChatToolDump added in v2026.610.0

func BuildChatToolDump() (string, error)

func BuildPlanToolDump

func BuildPlanToolDump() (string, error)

func EffectiveSurfaceMode added in v2026.610.0

func EffectiveSurfaceMode(m string) string

func EnsureUniversalTools added in v2026.610.0

func Exec

func Exec(ctx context.Context, env *Env, mode string, inv tooling.Invocation) (any, error)

func IsUniversalTool added in v2026.610.0

func IsUniversalTool(name string) bool

func MergeWebSearchExtras

func MergeWebSearchExtras(cfg *config.Root, engineKey string, tool map[string]any) map[string]any

func NativeToolParams

func NativeToolParams(mode string) ([]openai.ChatCompletionToolUnionParam, error)

func NewShellCommand

func NewShellCommand(ctx context.Context, dir, script string) *exec.Cmd

func NormalizeMode added in v2026.610.0

func NormalizeMode(m string) string

Types

type Env

type Env = agenttoolenv.Env

Jump to

Keyboard shortcuts

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