Software Project
Open to allow extension
Constructors
Properties
Provide sanitizers that run on file content before returning it. They must be sure not to change any content that may need to be replaced as this will break editing if editing is done in the same session.
Tool callbacks referenced or exposed.
Functions
Append content to a file, creating it if it doesn't exist. If create is true, the file will be created if it doesn't exist. If createIfNotExists is false, an exception will be thrown if the file doesn't exist.
Expose the ToolGroup as an interface
Create a file at the relative path under the root
Create a file with the given content.
Finds files containing the specified pattern using glob patterns
Checks if a file path matches a glob pattern
Use for safe reading of files. Returns null if the file doesn't exist or is not readable.
Create a tool object for this reference.
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it