library/filesystem
v0.3.5 SignedFile system operations (read, write, list, search, move)
Install
$
act pull actpkg.dev/library/filesystem Capabilities
Elevated host access
Requests: Filesystem read/write.
- wasi:filesystem Filesystem read/write
** (rw)
Risk Low Medium High
Tools · 9
act:tools interface — expand a tool for its input schema.
read_file Read the contents of a text file
Read the contents of a text file
Parameter Type Description path* string Path to the file to read Returns content.
read_binary_file Read a binary file and return its raw content with detected MIME type
Read a binary file and return its raw content with detected MIME type
Parameter Type Description path* string Path to the binary file Returns content.
write_file Write text content to a file (creates new or overwrites existing)
Write text content to a file (creates new or overwrites existing)
Parameter Type Description path* string Path to write to content* string Content to write Returns content.
append_file Append text content to a file
Append text content to a file
Parameter Type Description path* string Path to append to content* string Content to append Returns content.
list_directory List files and directories. Supports glob filtering and recursive search.
List files and directories. Supports glob filtering and recursive search.
Parameter Type Description glob string | null Glob pattern to filter by name (e.g. '*.rs', 'test_*') path* string Path to the directory to list max_depth integer | null Maximum depth when recursive (default 10) recursive boolean | null Recurse into subdirectories (default false) Returns content.
move_file Move or rename a file or directory
Move or rename a file or directory
Parameter Type Description source* string Source path destination* string Destination path Returns content.
copy_file Copy a file to a new location
Copy a file to a new location
Parameter Type Description source* string Source file path destination* string Destination file path Returns content.
delete_file Delete a file
Delete a file
Parameter Type Description path* string Path to the file to delete Returns content.
delete_directory Delete a directory (optionally recursive)
Delete a directory (optionally recursive)
Parameter Type Description path* string Path to the directory to delete recursive boolean | null Whether to delete recursively (including contents). Default false. Returns content.
Readme
No README provided.