exec

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrToolNotImplemented = errors.New("tool not implemented")

Functions

func ExecuteTool

func ExecuteTool(ctx context.Context, workDir, name string, args map[string]any) toolresult.ToolResult

ExecuteTool runs a built-in agent tool and returns its result.

func ExecuteToolWithOutput

func ExecuteToolWithOutput(ctx context.Context, workDir, name string, args map[string]any, onChunk func(string)) toolresult.ToolResult

ExecuteToolWithOutput runs a built-in tool, streaming shell chunks to onChunk when supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

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