Local Directory Reference
data class LocalDirectoryReference(val root: String, val description: String, val notes: String, val name: String = root.substringAfterLast('/')) : LlmReferenceProvider, LlmReference
Reference for a local directory on the filesystem. Provides readonly access via file read tools.
Parameters
root
the root directory path
notes
notes on how to use this reference
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return the instances of tool object. Defaults to this
Link copied to clipboard
Create a tool object for this reference.
Link copied to clipboard
A safe prefix for LLM tools associated with this reference. Defaults to the name lowercased with spaces replaced by underscores. Subclasses can override it