Suna Kortix icon

Suna Kortix

Interact with Suna Kortix AI Agents - Execute agents, manage sandboxes, and handle files

Sandbox → Update File ⚠️

AI-generated

Summary

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.

Links

Discussion