comet_upload
Upload local files to web forms and dialogs by attaching images, documents, or other files from your computer to the current webpage.
Instructions
Upload a file to a file input on the current page. Use this to attach images, documents, or other files to forms, posts, or upload dialogs. The file must exist on the local filesystem.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the file to upload (e.g., '/home/user/image.png' or 'C:\Users\user\image.png') | |
| selector | No | Optional CSS selector for the file input element. If not provided, auto-detects the first file input on the page. | |
| checkOnly | No | If true, only checks if file inputs exist on the page without uploading |