Save file
save_text_fileSave text as a file the user can download from their Second Brain, most often a CSV: a contact list, an export, a table they want in a spreadsheet or another tool. Also .tsv, .txt, .md and .json. Files written anywhere else (a sandbox, a temp folder) are gone when you finish and the user never sees them, so this is the only way to hand over a file. Never tell the user a file is ready unless this returned saved: true. Link it in your reply as filename.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The whole file. For a CSV, a header row then one row per line. | |
| filename | Yes | The name with its extension, e.g. contacts.csv. |