babelwrap_upload
Upload files to web page file input elements using natural language descriptions or direct element IDs for precise targeting.
Instructions
Upload a file to a file input element on the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The active session ID. | |
| target | Yes | Natural language description of the file input element. TIP: Pass an element ID from a previous snapshot to bypass LLM resolution entirely for instant, deterministic targeting. | |
| file_base64 | Yes | Base64-encoded file content. | |
| filename | Yes | The filename to use for the upload. | |
| compact | No | If True, return a compact snapshot with minimal whitespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||