play_audio
Play an audio file from a local path or URL. Supports WAV and MP3 formats.
Instructions
Play an audio file. Supports WAV and MP3 formats. Not supports video.
Args:
input_file_path (str): The path to the audio file to play.
is_url (bool, optional): Whether the audio file is a URL.
Returns:
Text content with the path to the audio file.
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": {
"input_file_path": "<input_file_path>"
},
"name": "play_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_url | No | ||
| input_file_path | Yes |