browser_upload_file
Uploads a local file directly to a file input on the active or specified browser tab, bypassing the OS file picker.
Instructions
Uploads a local file to a file input on the active or specified tab completely autonomously without opening OS file picker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional indexed reference ID from browser_get_dom. | |
| tabId | No | Optional tab ID. | |
| filePath | Yes | Absolute local file path to upload (e.g. D:\facebook-ai-agent\assets\cover.jpg). | |
| selector | No | Optional CSS selector of the file input (defaults to input[type="file"]). |