Record a Mac's screen
mac_recordingRecords the Mac's screen as an MP4. action start begins it (target screen, the default, or simulator for the iOS Simulator's window) and returns at once; it stops by itself after max_seconds. action stop saves it and returns its length, size and a download link (url for a browser, download_url for curl) that keeps working after the Mac stops; a repeat is safe. One recording at a time; stopping the Mac deletes an unsaved one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | start: where to save the MP4 on the Mac (default /tmp/nomac-recordings/) | |
| action | Yes | start or stop the recording | |
| target | No | start: screen (default), the whole desktop, or simulator, the iOS Simulator's window | |
| session_id | No | Mac session ID (ses_…). Optional: without it, the account's running Mac. | |
| max_seconds | No | start: stop by itself after this many seconds (1-1800, default 300) |