What would you like to add or change?
Add an appendFile tool that takes a path and content
and appends to the end of an existing file instead
of overwriting it like writeFile does.
Why would this be useful?
writeFile overwrites the entire file. For use cases
like adding logs, notes, or entries to an existing
file the agent currently has no way to append without
losing existing content.
Possible implementation
Use fs.appendFileSync(path, content, 'utf8') in
functions.js and register in tools.js following
the existing pattern.
What would you like to add or change?
Add an appendFile tool that takes a path and content
and appends to the end of an existing file instead
of overwriting it like writeFile does.
Why would this be useful?
writeFile overwrites the entire file. For use cases
like adding logs, notes, or entries to an existing
file the agent currently has no way to append without
losing existing content.
Possible implementation
Use fs.appendFileSync(path, content, 'utf8') in
functions.js and register in tools.js following
the existing pattern.