in agents/tools/file_tools.py [0:0]
def write_sync():
with open(file_path, "w", encoding="utf-8") as f:
f.write(content)
return (
f"Successfully wrote {len(content)} "
f"characters to {path}"
)