safari_eval_file
Execute JavaScript from a file path, bypassing size limits of inline scripts, and enabling base64 binary uploads.
Instructions
Execute JavaScript read from a FILE path (avoids passing huge scripts inline / manual copy). Same engine as safari_evaluate: extension-first (no focus steal), AppleScript fallback. Use to upload binary via a generated .js containing base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .js file whose contents are the script to execute |