Actions28
- Agent Actions
- Project Actions
- Sandbox Actions
- Tasks/Messages Actions
- Thread Actions
Sandbox → Update File ⚠️
AI-generatedSummary
Replaces a file’s text content at the specified path in a Suna Kortix sandbox. Supply the sandbox ID, file path, and new content; this operation requires JWT session authentication and does not work with API Key credentials.
Inputs
- Sandbox ID (required) — ID of the sandbox containing the file.
- Path (required) — Path to the file within the sandbox; defaults to
/workspace. - File Content — New text content to write to the file.
Output shape
A single JSON result returned by the backend.
The operation sends a PUT request with the path and content. The response fields depend on the backend; the source does not define a fixed result shape.