AACFlow

File

Read and write workspace files

Usage Instructions

Read and parse files from uploads or URLs, write new workspace files, or append content to existing files.

Tools

file_parser

Parse one or more uploaded files or files from URLs (text, PDF, CSV, images, etc.)

Input

ParameterTypeRequiredDescription
filePathstringNoNo description
filefileNoNo description
fileTypestringNoNo description

Output

ParameterTypeDescription
filesfile[]Parsed files as UserFile objects
combinedContentstringCombined content of all parsed files

file_write

Create a new workspace file. If a file with the same name already exists, a numeric suffix is added (e.g.,

Input

ParameterTypeRequiredDescription
fileNamestringYesFile name (e.g., "data.csv"). If a file with this name exists, a numeric suffix is added automatically.
contentstringYesNo description
contentTypestringNoMIME type for new files (e.g., "text/plain"). Auto-detected from file extension if omitted.

Output

ParameterTypeDescription
idstringFile ID
namestringFile name
sizenumberFile size in bytes
urlstringURL to access the file

file_append

Append content to an existing workspace file. The file must already exist. Content is added to the end of the file.

Input

ParameterTypeRequiredDescription
fileNamestringYesNo description
contentstringYesNo description

Output

ParameterTypeDescription
idstringFile ID
namestringFile name
sizenumberFile size in bytes
urlstringURL to access the file

On this page

Start building today
Trusted by over 100,000 builders.
The SaaS platform to build AI agents and run your agentic workforce.
Get started