lsp

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: GPL-3.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 Tool

type Tool struct{}

Tool provides Language Server Protocol operations via gopls.

func (*Tool) Description

func (t *Tool) Description() string

func (*Tool) Execute

func (t *Tool) Execute(ctx context.Context, raw json.RawMessage, workDir string) (agentsdk.ToolResult, error)

func (*Tool) InputSchema

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

func (*Tool) IsEnabled

func (t *Tool) IsEnabled(_ *agentsdk.RunContext) bool

func (*Tool) IsReadOnly

func (t *Tool) IsReadOnly() bool

func (*Tool) Name

func (t *Tool) Name() string

func (*Tool) NeedsApproval

func (t *Tool) NeedsApproval() bool

func (*Tool) TimeoutSeconds

func (t *Tool) TimeoutSeconds() int

Jump to

Keyboard shortcuts

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