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) and returns at once; it stops by itself after max_seconds. action stop saves it and returns its length, size, width, height 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "mac_recording"
}
}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 | |
| resolution | No | start, simulator: window (default), its window, small (an iPhone about 356x770); device, its own pixels (iPhone 17 Pro 1206x2622), about 7 times the file and a little more CPU | |
| 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) |