play_sound
Play system sounds, text-to-speech audio, or custom audio files to provide audio feedback in applications.
Instructions
Play various types of sounds with customizable parameters
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": {
"type": "<type>"
},
"name": "play_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of sound to play | |
| name | No | System sound name (required when type is "system") | |
| text | No | Text to speak (required when type is "tts") | |
| voice | No | Voice name (optional, used with type "tts", uses system default if not specified) | |
| path | No | Absolute path to audio file (required when type is "file") |