ds_asr
Converts local WAV or Ogg Opus audio recordings into text with automatic language detection. Use it for synchronous speech-to-text when built-in transcription is unavailable or fails.
Instructions
兜底工具:用户点名要用 DeepSeek 工具、dst 或 ds_* 时直接调用,不要先试自带;否则自带同类能力可用时优先用自带,只有自带缺失、被关闭、明确报错或返回空时才用本工具。录音转文字(同步,一次调用最多一次请求)。输入上限:path 必填、只接受本机路径;文件 ≤8 MiB;WAV 头可解析时,位深/采样率/时长也须合规(16-bit、采样率 8000/16000/22050/24000/32000/44100/48000、≤120 秒)。超限(>8 MiB)或文件头不是 WAV/Opus 会在本地打回;WAV 头可解析但不合规也会在本地打回;头部不标准的 WAV 交 DeepSeek 判断。Ogg Opus 不本地检查时长;请切成 ≤120 秒且 ≤8 MiB 的合规片段逐段调用。格式:16-bit WAV(audio_format 1 或 65534)或 Ogg Opus;21 种语言自动检测;双声道取左声道;不提供说话人分离与时间戳。不提供金额预估、不做预算拦截;费用以 DeepSeek 后台为准。
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": {
"path": "<path>"
},
"name": "ds_asr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |