Local Directory Reference
Reference for a local directory on the filesystem. Provides readonly access via file read tools.
Parameters
the root directory path
notes on how to use this reference
Properties
Functions
Convert this reference to a MatryoshkaReference, exposing a single tool object that supports nesting. Do not rewrap a MatryoshkaReference. Thus repeated calls to this method are safe.
Create an LLM reference
Return the instances of tool object. Defaults to this
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
Convert this reference to a reference exposing a single unfolding tool. Does not rewrap an unfolding reference. Thus repeated calls to this method are safe.