Tool Upload File
Category: Browser Automation · Tier: Free
Upload file(s) to a file input element. Works with <input type="file"> elements.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| selector | string | Yes | CSS selector for the file input element |
| filePaths | string[] | Yes | Array of absolute file paths to upload |
| _browserToken | string | No | Browser session token |
Example
Upload my resume to the job application form
→ upload_file selector="#resume-input" filePaths=["/tmp/resume.pdf"]
Related
fill— Fill text form fieldsclick— Click elements- Browser Automation Tools — All 25 tools
- Tools Overview — All 120 tools by category