From d828d83d7aa2becaa231de400f1a4ff77cb490a5 Mon Sep 17 00:00:00 2001 From: MagMueller Date: Fri, 4 Sep 2026 12:52:09 -0700 Subject: [PATCH] docs(tools): list jpeg in binary image support --- browser_use/tools/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py index 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.'