Documents & storage
Work with your project’s Document Management System (DMS) and turn stored data into files, tables, charts, and PDFs.
A typical flow: dms_list to find a document → dms_read its content → process it → dms_upload the result. dms_upload pauses for approval (built-in HIL).
dms_list
List documents (id, name, size, type), with folder filter and pagination. Category: Data Pull · Setup: needs documents.
- Inputs:
folder_id('root'or omit for all),page,size.
dms_read
Read a document’s content (PDF/Word/Excel auto-extracted; others as text or base64). Category: Data Pull · Setup: needs a document.
- Inputs:
file_id(required — a DMS document id, or a cached file id),encoding,as_base64,max_chars.
dms_get_metadata
Get a document’s metadata without downloading. Category: Data Pull · Setup: needs a document.
- Inputs:
document_id(required).
dms_upload
Upload a document (new content or a downloaded file). Category: Action · HIL approval.
- Inputs:
name(required),contentorfile_id,is_base64,mime_type,folder_id.
document_extract
Extract text, tables, and metadata from PDF/DOCX/TXT/CSV/HTML/Markdown. Category: Data Pull · Setup: needs a file input.
parse_table
Convert stored data into a formatted, sortable UI table. Category: Function · Setup: none.
- Inputs: an
artifact_id(fromdb_query/parse_table) or inline data.
parse_echarts
Convert stored data into an ECharts visualization (bar/line/pie/…). Category: Function · Setup: none.
- Inputs: an
artifact_idor inline series data.
generate_pdf
Generate a formatted, colorful PDF report (sections, tables, charts). Category: Action · Setup: none.
- Inputs:
title,sections(heading + body + optional table/chart),accent_color,template,include_toc. Tables/charts reference data byartifact_id.
Deprecated
These still exist but are being retired — avoid for new work (no screenshots):
dms_download— downloaded a document to temp storage for afile_id.dms_readnow reads a document by its id directly.file_parse— parsed structured content from files; usedocument_extractinstead.