Documentation
¶
Index ¶
- type Tool
- func (t *Tool) Description() string
- func (t *Tool) Execute(ctx context.Context, raw json.RawMessage, workDir string) (agentsdk.ToolResult, error)
- func (t *Tool) InputSchema() json.RawMessage
- func (t *Tool) IsEnabled(_ *agentsdk.RunContext) bool
- func (t *Tool) IsReadOnly() bool
- func (t *Tool) Name() string
- func (t *Tool) NeedsApproval() bool
- func (t *Tool) TimeoutSeconds() int
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 (*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) IsReadOnly ¶
func (*Tool) NeedsApproval ¶
func (*Tool) TimeoutSeconds ¶
Click to show internal directories.
Click to hide internal directories.