devtools

package
v0.0.0-...-a981527 Latest Latest
Warning

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

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

Documentation

Overview

Package devtools provides developer tools that are only available with --dev flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalFileBrowserTool

type LocalFileBrowserTool struct {
	// contains filtered or unexported fields
}

LocalFileBrowserTool reads and lists files in a project directory.

func NewLocalFileBrowserTool

func NewLocalFileBrowserTool(workDir string) *LocalFileBrowserTool

NewLocalFileBrowserTool creates a file browser tool for the given directory.

func (*LocalFileBrowserTool) Category

func (t *LocalFileBrowserTool) Category() tools.Category

func (*LocalFileBrowserTool) Description

func (t *LocalFileBrowserTool) Description() string

func (*LocalFileBrowserTool) Execute

func (t *LocalFileBrowserTool) Execute(ctx context.Context, args json.RawMessage) (string, error)

func (*LocalFileBrowserTool) InputSchema

func (t *LocalFileBrowserTool) InputSchema() json.RawMessage

func (*LocalFileBrowserTool) Name

func (t *LocalFileBrowserTool) Name() string

type LocalShellTool

type LocalShellTool struct {
	// contains filtered or unexported fields
}

LocalShellTool executes shell commands sandboxed to a work directory.

func NewLocalShellTool

func NewLocalShellTool(workDir string) *LocalShellTool

NewLocalShellTool creates a shell tool sandboxed to the given directory.

func (*LocalShellTool) Category

func (t *LocalShellTool) Category() tools.Category

func (*LocalShellTool) Description

func (t *LocalShellTool) Description() string

func (*LocalShellTool) Execute

func (t *LocalShellTool) Execute(ctx context.Context, args json.RawMessage) (string, error)

func (*LocalShellTool) InputSchema

func (t *LocalShellTool) InputSchema() json.RawMessage

func (*LocalShellTool) Name

func (t *LocalShellTool) Name() string

Jump to

Keyboard shortcuts

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