What
Claude in Chrome lets Claude control your Chrome browser, and file_upload is its action for putting files into a web page. Its permission check was substantially rewritten.
- Upload card: file uploads now get their own permission card. The page's origin (its site address) is put in a standard form, your domain rules are applied, and uploads are refused in plan mode.
- Preparation: before approval, the origin, file paths and file names are checked. If the files cannot be read for the approval, the error says "Nothing was uploaded, because the files could not be read for the approval. Ask the user to choose the file in their browser themselves."
- Card required: if a card was listed (
cardListed) and the call does not carry the card's key,file_uploadreturns an error unless the permission result was automatic. - Size limit: the too-large message now says the files in one call can total at most a given size, that nothing in the call was uploaded, and suggests asking you to choose the file. Sizes are now worked out in decimal units.
- Tab address lookup: finding a tab's web address now reads remote settings (
limit_ms,second_lookup_after_ms), races a second lookup, and reports a newnot_connectedfailure. Before, there was one fixed timeout. - Batches: refusing the actions of a
browser_batchcall one by one now goes through a shared helper.
Why
Uploading a file from your computer into a website now has its own approval step tied to the site and your domain rules, and it is refused in plan mode. When an upload fails, Claude is told that nothing was sent and to ask you to pick the file, and a disconnected browser now shows up as not_connected.