Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProjectRoot ¶
FindProjectRoot locates the project root by searching for dsgo.go file. It searches upward from the current directory until it finds dsgo.go. Returns an error if dsgo.go is not found (should never happen in valid examples).
func GetAllFilesystemTools ¶
GetAllFilesystemTools returns all available filesystem tools as a slice. This is the recommended way to get all filesystem tools for use in examples.
func NewListFilesTool ¶
NewListFilesTool creates a tool for listing files and directories in a given path up to a specified depth. The tool automatically detects the project root and constrains all operations to within project boundaries.
func NewReadFileTool ¶
NewReadFileTool creates a tool for reading the content of a specific file. The tool automatically detects the project root and ensures files are within project boundaries.
func NewSearchFilesTool ¶
NewSearchFilesTool creates a tool for searching files matching a glob pattern. The tool automatically detects the project root and constrains searches to within project boundaries.
Types ¶
This section is empty.