Documentation
¶
Overview ¶
Package repltool implements the REPL tool — an interactive code execution environment. Mirrors src/tools/REPLTool/.
The TS original runs code in a Bun VM sandbox. Our Go port falls back to running the code via the system interpreter (node/python3/bash), which is good enough for the agent's typical use (quick calculations, data transforms, script snippets).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct{}
Tool implements the REPL tool.
func (*Tool) Description ¶
func (*Tool) InputSchema ¶
func (*Tool) InputSchema() json.RawMessage
func (*Tool) IsConcurrencySafe ¶
func (*Tool) IsConcurrencySafe(json.RawMessage) bool
func (*Tool) IsReadOnly ¶
func (*Tool) IsReadOnly(json.RawMessage) bool
Click to show internal directories.
Click to hide internal directories.