tools

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package tools provides the execution-environment-backed tools of the agent harness.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBashTool

func CreateBashTool(options *BashToolOptions) *harness.AgentHarnessTool

CreateBashTool executes prepared commands and emits bounded progress checkpoints.

func CreateEditTool

func CreateEditTool() *harness.AgentHarnessTool

CreateEditTool applies disjoint replacements to the original file contents.

func CreateReadTool

func CreateReadTool(options *ReadToolOptions) *harness.AgentHarnessTool

CreateReadTool reads files and images through the current turn's environment.

func CreateWriteTool

func CreateWriteTool() *harness.AgentHarnessTool

CreateWriteTool writes files through the environment's canonical mutation queue.

Types

type BashExecution

type BashExecution = builtin.BashExecution

BashExecution is the mutable request supplied to a bash preparation hook.

type BashToolDetails

type BashToolDetails = builtin.HarnessBashToolDetails

BashToolDetails describes a bounded shell capture and its spill file.

type BashToolOptions

type BashToolOptions = builtin.BashToolOptions

BashToolOptions configures the command prefix and preparation hook.

type EditToolDetails

type EditToolDetails = builtin.HarnessEditToolDetails

EditToolDetails contains both display and unified diffs.

type ExecutionToolContext

type ExecutionToolContext = builtin.ExecutionToolContext

ExecutionToolContext carries the environment and can be embedded in an application's turn context.

type ReadImageProcessorResult

type ReadImageProcessorResult = builtin.ReadImageProcessorResult

ReadImageProcessorResult carries converted bytes or an omission notice.

type ReadToolDetails

type ReadToolDetails = builtin.HarnessReadToolDetails

ReadToolDetails describes truncated text reads.

type ReadToolOptions

type ReadToolOptions = builtin.ReadToolOptions

ReadToolOptions configures image processing for a read tool.

Jump to

Keyboard shortcuts

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