Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filesystem_tools-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filesystem_tools-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for filesystem_tools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d4b169f828d14369a8b0d4bc3529debf6e2f796ffe9c569b0a2ddd3e423bd918
MD5 6fc27ad2e9ef9aeecd7e6d1d09887591
BLAKE2b-256 16fbb28fd5331cca673aba38a6335fc36754cf7f3887f4d9d97dd6371151d0d9

See more details on using hashes here.

File details

Details for the file filesystem_tools-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for filesystem_tools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 171205e3a3fc5150d13e0cb16ea3295d3fbf239da360fff39e741f6912a1b627
MD5 12b12164d9295348226bcf0f25c9930b
BLAKE2b-256 95fe9b902617c48bf5983ceb75563c97b048466de6bc8fc487cf4d194b6dc22a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page