record_audio
Captures Mac microphone audio for a specified duration and returns the WAV file path, useful for saving what a connected iOS device plays.
Instructions
Record the Mac microphone for a number of seconds (e.g. to capture what the device plays). Returns the WAV path.
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": {
"seconds": "<seconds>"
},
"name": "record_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | Yes | Length to record, up to 300; the file can run about 1 s longer | |
| audioDevice | No | Mac input name substring (default: built-in mic, never an iPhone/iPad mic) |