File system tools for AI agents - read, write, search, edit files with workspace security
Project description
filesystem-tools
File system tools for AI agents. Provides safe workspace-constrained file operations.
Quick Start
from filesystem_tools import read_file, write_file, list_files
write_file("hello.txt", "Hello, World!")
print(read_file("hello.txt"))
print(list_files("."))
Features
- Read/write/append/create/delete files
- Copy/move/rename files and directories
- List files and directory tree
- Find files by name or extension
- Edit files: replace text, insert/delete/replace lines
- File metadata (size, timestamps, type)
- Path existence check
- Automatic workspace security (all paths confined to
./workspace) - Audit logging to
workspace/logs/filesystem.log
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filesystem_tools-1.0.0.tar.gz.
File metadata
- Download URL: filesystem_tools-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4b169f828d14369a8b0d4bc3529debf6e2f796ffe9c569b0a2ddd3e423bd918
|
|
| MD5 |
6fc27ad2e9ef9aeecd7e6d1d09887591
|
|
| BLAKE2b-256 |
16fbb28fd5331cca673aba38a6335fc36754cf7f3887f4d9d97dd6371151d0d9
|
File details
Details for the file filesystem_tools-1.0.0-py3-none-any.whl.
File metadata
- Download URL: filesystem_tools-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
171205e3a3fc5150d13e0cb16ea3295d3fbf239da360fff39e741f6912a1b627
|
|
| MD5 |
12b12164d9295348226bcf0f25c9930b
|
|
| BLAKE2b-256 |
95fe9b902617c48bf5983ceb75563c97b048466de6bc8fc487cf4d194b6dc22a
|