listen
Capture live microphone audio and convert speech to Chinese text for real-time transcription. Returns JSON with recognized text, supporting local and cloud ASR.
Instructions
采集本地麦克风语音并识别为中文文本。本地或云端 ASR 均可(云端需先在 config.yaml 配 asr.aliyun)。返回识别结果 JSON(含 text 字段)。
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": "listen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |