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
docs(tools): list jpeg in binary image support
MagMuellerd828d83d7aa2
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex e699b609f..2e71dc402 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -1755,7 +1755,7 @@ You will be given a query and the markdown of a webpage that has been filtered t'Write content to a file. By default this OVERWRITES the entire file - use append=true to add to an existing file, or use replace_file for targeted edits within a file. ''FILENAME RULES: Use only letters, numbers, underscores, hyphens, dots, parentheses. Spaces are auto-converted to hyphens. ''SUPPORTED EXTENSIONS: .txt, .md, .json, .jsonl, .csv, .html, .xml, .pdf, .docx. '- 'For small images (.png, .gif, .jpg, .webp) — e.g. a tiny file to upload — set content to the '+ 'For small images (.png, .gif, .jpg, .jpeg, .webp) — e.g. a tiny file to upload — set content to the ''base64 of a valid image (a 1x1 PNG is ~92 base64 chars); the bytes are decoded and written for you. ''CANNOT write other binary files (.mp4, .zip, etc.) and do not attempt to save screenshots as files. ''For PDF files, write content in markdown format and it will be auto-converted to PDF.'