Skip to content

Export Documents

🤖 AI Drafted (Not reviewed)

Export selected documents as Markdown, Word, and/or Excel files.

Tool id export_documents
Category output
Uses a language model no
Needs a generative model no
Runs over many items no
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Source Folder (source_id) text no Folder/document ID to export. Uses workflow selection when omitted.
Documents (documents) json no Upstream document metadata (e.g. from a Files source node). Used as the export target when neither source_id nor a UI selection is present.

What it emits

Port Type Required What it is
Files (files) files Absolute paths of exported files and folders.
Count (count) number Number of export artifacts produced.

Options

Option Type Default What it does
destination string ~/Desktop Output folder path. ~ is expanded to the user home directory.
formats array [“markdown”, “docx”, “xlsx”] Export formats to produce. ‘eleventy’ publishes an 11ty/Netlify static website (collections = folders).

The prompt it sends

This tool does not send a prompt — it does its work in code.