listen
Record audio from computer output or microphone and get a transcription using local Whisper.
Instructions
Record audio for a fixed time and transcribe it with Whisper (local, CPU). The recording is deleted afterwards. Start playback before calling. Transcription takes about as long as the audio (minimum ~15 s, Whisper works in 30-second windows).
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": "listen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | 'output' = what the computer is playing; 'mic' = the microphone. Only use mic when the user asked for it. | output |
| seconds | Yes | How long to record | |
| language | No | ISO code like 'en' or 'sr'; auto-detect if omitted |