You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`container_initialize`: (Re)start a container. Containers are intended to be ephemeral and don't save any state. Containers are only guaranteed to last 10m (this is just because I have a max of like ~5 containers per account).
49
49
-`container_ping`: Ping a container for connectivity
50
50
-`container_exec`: Run a command in the shell
51
-
-`container_files_write`: Write to a file
51
+
-`container_file_write`: Write to a file
52
52
-`container_files_list`: List all files in the work directory
53
53
-`container_file_read`: Read the contents of a single file or directory
54
+
-`container_file_delete`: Delete a single file or directory
Copy file name to clipboardExpand all lines: apps/sandbox-container/server/prompts.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ AVOID manually reading or writing files using the \`container_exec\` tool. You s
48
48
To manage container lifecycle, use the \`container_start\` and \`container_kill\` tools. If you run into errors where you can't connect to the container, attempt to kill and restart the container. If that doesn't work, the system is probably overloaded.
49
49
50
50
You can execute actions in the container using the \`container_exec\` tool. By default, stdout is returned back as a string.
51
-
To write a file, use the \`container_files_write\` tool.
51
+
To write a file, use the \`container_file_write\` tool. To delete a file, use the \`container_file_delete\` tool.
52
52
53
53
The \`container_files_list\` allows you to list file resources. Content is omitted from the response of this tool and all mimeTypes are \`text/plain\` even if the file ending suggests otherwise.
54
54
If you want to get the file contents of a file resource, use \`container_file_read\`, which will return the file contents.
0 commit comments