upload_file
Upload a file to a web page by targeting a specific file input element. Specify the element's UID and local file path; optionally receive a page snapshot.
Instructions
Upload a file through a provided element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The uid of the file input element or an element that will open file chooser on the page from the page content snapshot | |
| filePath | Yes | The local path of the file to upload | |
| includeSnapshot | No | Whether to include a snapshot in the response. Default is false. |