class LittleGhost::Tools::Filesystem::ReadFile
Reads one UTF-8 text file through the configured sandbox.
Public Instance Methods
Source
# File lib/little_ghost/tools/filesystem.rb, line 29 def call(input) sandbox.read(input.fetch("path"), context:) end
Returns the UTF-8 text at input["path"] through the sandbox.
Source
# File lib/little_ghost/tools/filesystem.rb, line 33 def description = framework_prompt("tools/built_in/read_file/description")