capture_audio
Record microphone audio to a WAV file, returning its path, duration, and sample rate for direct AI use.
Instructions
Records an audio clip via microphone and saves to a temp WAV file. Returns file path, duration, and sample rate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Recording duration in seconds (default 5, max 30) |