Create temporary file
Create an empty file with a unique name in the temporary folder (or another folder), for working data an agent needs only for a while.
Command in the File toolkit · id ooa.file/create_temp_file · 4 inputs, 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Extension | String | No | .tmp | File extension, e.g. .csv or .xlsx. |
| Delete at end | Boolean | No | true | Delete the file when the run ends (also when it fails); turn off to keep it. |
| Folder | File | No | Folder to create it in; the system's temporary folder when empty. | |
| Prefix | String | No | ooa- | Start of the file name. |
Outputs
| Output | Type | What it is |
|---|---|---|
| path | File | Full path of the new file. |