speak
Convert text into spoken audio with customizable emotion. Enable interrupt to halt current playback for immediate interjection.
Instructions
本地朗读文本(可带情绪)。interrupt=True 时打断当前播放,便于实时插话。
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": {
"text": "<text>"
},
"name": "speak"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| voice | No | ||
| emotion | No | neutral | |
| interrupt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |