chrome_upload_file
Upload local files directly to file input elements in Chrome via DevTools protocol, bypassing the native file picker. Specify absolute paths and target tab by URL or title.
Instructions
Attach local files to an element using Chrome DevTools file-input control. Does NOT open the native file picker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | ||
| paths | Yes | Local absolute file paths to upload. | |
| selector | No | ||
| targetId | No | Chrome tab id to target. | |
| background | No | If true, avoid explicit Chrome focus/tab activation (default). Pass false to allow foreground work. | |
| urlIncludes | No | Match the target tab by URL substring. | |
| titleIncludes | No | Match the target tab by title substring. |