play_sound
Play audio feedback sounds to indicate task completion, errors, or notifications, enhancing user experience with non-visual status indicators.
Instructions
Play a notification sound on the user's device.
WHEN TO USE THIS TOOL:
- Use 'completion' sound when a task or command has SUCCESSFULLY completed
- Use 'error' sound when a command has FAILED or an error has occurred
- Use 'notification' sound for important alerts or information that needs attention
- Use 'custom' sound only when you need a specific sound not covered by the standard types
AI agents SHOULD proactively use these sounds to provide audio feedback based on
the outcome of commands or operations, enhancing the user experience with
non-visual status indicators.
Example usage: After executing a terminal command, play a 'completion' sound if
successful or an 'error' sound if it failed.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
custom_sound_path | No | ||
sound_type | No | completion |
Input Schema (JSON Schema)
{
"properties": {
"custom_sound_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Custom Sound Path"
},
"sound_type": {
"default": "completion",
"enum": [
"completion",
"error",
"notification",
"custom"
],
"title": "Sound Type",
"type": "string"
}
},
"title": "play_soundArguments",
"type": "object"
}