setSimVideo
Set a test video as the simulator's camera source so capture_photo, capture_video, and videoFrames run against a known scene, enabling reliable testing of camera-driven flows.
Instructions
Pipe a Test Video into the simulator's camera input so capture_photo / capture_video / videoFrames run against a known scene instead of a blank viewport — closes the agent-driven test loop for camera-driven flows the same way injectTranscript closes it for voice flows. Discover available IDs via getSimulatorStatus.testVideos (bundled defaults + project uploads). Requires the simulator browser tab to be connected (browser role attached) — call ensureSimulatorBrowser({ sessionId }) first to guarantee it (idempotent: opens the tab cross-platform + polls until it attaches). Same precondition as the simulator's photo/video capture itself. The browser loads the video as its cameraSource (same code path as a human drag-dropping a file), and a camera_source_set lifecycle event lands in getEventLog so the source change is visible to your verification step. USE before triggering a capture_photo / capture_video flow that needs a scene. DON'T USE to upload new videos — that's the project simulator page's job (extentos.com/projects//simulator).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | ID of the test video to load. Get the available list from getSimulatorStatus.testVideos — each entry has an id, name, description, durationSec, and source ('default' = bundled, 'project' = uploaded via the simulator page). | |
| sessionId | Yes |