Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Auto-update documentation after merge [skip ci]

camel-docs-bot5dfc1a945777
diff --git a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
index c0038c743..234033375 100644
--- a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
@@ -275,6 +275,25 @@ This method can handle different scenarios:
str: The output from the shell session after the user's command has
been executed, or help information for general queries.
+<a id="camel.toolkits.terminal_toolkit.terminal_toolkit.TerminalToolkit.shell_write_content_to_file"></a>
+
+### shell_write_content_to_file
+
+```python
+def shell_write_content_to_file(self, content: str, file_path: str):
+```
+
+Writes the specified content to a file at the given path.
+
+**Parameters:**
+
+- **content** (str): The content to write to the file.
+- **file_path** (str): The path to the file where the content should be written. Can be absolute or relative to working_dir.
+
+**Returns:**
+
+ str: A confirmation message indicating success or an error message.
+
<a id="camel.toolkits.terminal_toolkit.terminal_toolkit.TerminalToolkit.__enter__"></a>
### __enter__