Skip to content

Tool: remove_file

Description: Remove a file at the specified path.

Argument Type Description
file_path str Path to the file to remove.
backup bool, optional If True, create a backup (.bak) before removing. Defaults to False.
Returns str Status message indicating the result, or error message.

Example usage: remove_file(file_path="obsolete.txt", backup=True)


generated by janito.dev