← Files BugBugARCHIVED FILE
skills/bugbug-steps-authoring/steps/uploadFile.md
664 Bytes · Dec 3, 2026 · 18:22 UTC
# uploadFile ## Description Upload a file from the project Files library into the targeted file input. Common payload fields are documented in [Common step fields](_common-fields.md). ## Required Fields | Field | Type | Description | | --- | --- | --- | | `projectArtifactId` | `string` | ID of a file from the project Files library (max 10 MB). Reuse an existing file (`bugbug.files.list` in bugbug_run_code_in_sandbox) before uploading a new one (bugbug_files_upload). | ## Optional Fields | Field | Type | Description | | --- | --- | --- | | `selectorsPresets` | `array<object>` | Element selector presets required by element-targeting steps variants. |
SHA-256: 5ff2698034ce1ecdc78bddc9643db729fe72af05d67d95b2789d296dad69026b