Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Message update

Magnus Müller191e0a91ed75
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index 040650473..9f84d07ee 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -931,7 +931,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 content to a file. Supports multiple 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.'
+ '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,
diff --git a/browser_use/tools/views.py b/browser_use/tools/views.py
index a6a5cd77d..5775175a0 100644
--- a/browser_use/tools/views.py
+++ b/browser_use/tools/views.py
@@ -37,7 +37,7 @@ class InputTextAction(BaseModel):
class DoneAction(BaseModel):
- text: str = Field(description='summary for user in the format the user requested')
+ text: str = Field(description='Final user message in the format the user requested')
success: bool = Field(default=True, description='True if user_request completed successfully')
files_to_display: list[str] | None = Field(default=[])