You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/core/src/device/index.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -285,9 +285,16 @@ function defineLocatedPointAction<
285
285
// Tap
286
286
exportconstactionTapParamSchema=z.object({
287
287
locate: getMidsceneLocationSchema().describe('The element to be tapped'),
288
+
fileChooserAccept: z
289
+
.union([z.string(),z.array(z.string())])
290
+
.optional()
291
+
.describe(
292
+
'Optional file path(s) to upload when this tap triggers a file chooser. Use only for file upload controls. If the user asks to upload a concrete file path, copy the exact path here.',
0 commit comments