Actions24
- Code Interpreter Actions
- Command Actions
- File Actions
- Sandbox Actions
- Snapshot Actions
File → Make Directory
AI-generatedSummary
Creates a directory, including any missing parent directories, at an absolute path inside a Declaw Firecracker sandbox.
Inputs
- Sandbox ID (required) — ID of the existing sandbox (e.g. sbx-a1b2c3d4) in which to create the directory.
- File Path (required) — Absolute path of the directory to create inside the sandbox (e.g. /home/user/output). Despite the 'File Path' label, it is the directory path.
Output shape
One output item per input item, containing the JSON response returned by the Declaw API's mkdir endpoint.
The source doesn't define the response fields; they are whatever the API returns. If 'Continue On Fail' is enabled, a failed item yields {error: message} instead of stopping the workflow.
Examples
Example 1: Prepare an output folder before writing files into a sandbox.
Sandbox ID = {{$json.sandbox_id}}, File Path = /home/user/project/data