Skip to content

play_audio

Control audio playback: play, stop, pause, resume, play one-shot

Category: Audio

Name Type Required Default Description
action string yes Playback action. One of: play, stop, pause, resume, play_one_shot, stop_all, search_clips
object_name string Name of the GameObject with AudioSource
clip_path string Asset path to AudioClip for play_one_shot
volume_scale number 1 Volume scale for play_one_shot (0.0 to 1.0)
search_query string Search query for finding audio clips
delay number 0 Delay in seconds before playing

The arguments below are the required ones; add the optional ones you need.

{
"name": "play_audio",
"arguments": {
"action": "play"
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "play_audio", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/AudioTools.cs (version 1.2.1). The client receives the same schema from tools/list.