Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
Write file desc
Magnus Müller0604bda9cf50
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex 56fc9657f..8a79e72be 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -942,7 +942,7 @@ You will be given a query and the markdown of a webpage that has been filtered t# File System Actions@self.registry.action(- 'Write complete content to a file. Use this to create new files or overwrite entire file contents. For targeted edits within existing files, use replace_file instead. Supports formats: .txt, .md, .json, .jsonl, .csv, .pdf. For PDF files, write content in markdown format and it will be automatically converted to a properly formatted PDF document.'+ 'Write content to a file in the local file system. Use this to create new files or overwrite entire file contents. For targeted edits within existing files, use replace_file instead. Supports formats: .txt, .md, .json, .jsonl, .csv, .pdf. For PDF files, write content in markdown format and it will be automatically converted to a properly formatted PDF document.')async def write_file(file_name: str,