tools

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentTool

type AgentTool struct {
	*core.BaseTool
	// contains filtered or unexported fields
}

func NewAgentTool

func NewAgentTool(t *responses.ToolUnion, agent *agents.Agent) *AgentTool

func (*AgentTool) Execute

type CodeExecutionTool added in v0.1.18

type CodeExecutionTool struct {
	*core.BaseTool
}

func NewCodeExecutionTool added in v0.1.18

func NewCodeExecutionTool() *CodeExecutionTool

func (*CodeExecutionTool) Execute added in v0.1.18

func (*CodeExecutionTool) Tool added in v0.1.18

type ImageGenerationTool

type ImageGenerationTool struct {
	*core.BaseTool
}

func NewImageGenerationTool

func NewImageGenerationTool() *ImageGenerationTool

func (*ImageGenerationTool) Execute

func (*ImageGenerationTool) Tool

type Input added in v0.1.18

type Input struct {
	Code string `json:"code"`
}

type SandboxTool added in v0.1.18

type SandboxTool struct {
	*core.BaseTool
	// contains filtered or unexported fields
}

func NewSandboxTool added in v0.1.18

func NewSandboxTool(svc sandbox.Manager, image string) *SandboxTool

func (*SandboxTool) Execute added in v0.1.18

type WebSearchTool added in v0.1.18

type WebSearchTool struct {
	*core.BaseTool
}

func NewWebSearchTool added in v0.1.18

func NewWebSearchTool() *WebSearchTool

func (*WebSearchTool) Execute added in v0.1.18

func (*WebSearchTool) Tool added in v0.1.18

Jump to

Keyboard shortcuts

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