Skip to content

Add "delete file" tool #1839

@kevinvandijk

Description

@kevinvandijk

Description

Right now models have to use terminal commands like rm to delete files.

For one: often this will issue *nix commands which do not work on Windows when not using WSL.
Second: LLM's often try to do rm -rf commands which are dangerous.

Lets make a "delete file" tool that can be used to delete files and can have security build in to not delete system files or whole home directories outside of a workspace for example.

This tool should also be able to delete full folders so lets think about the naming, purpose is: deleting files and folders safely

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Prioritized

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions