game_audio_play
game_audio_playControl AudioStreamPlayer nodes in Godot: play, stop, pause, or resume audio with optional stream, volume, pitch, and bus settings.
Instructions
Play, stop, or pause an AudioStreamPlayer node
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": {
"nodePath": "<nodePath>"
},
"name": "game_audio_play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus | No | Audio bus name | |
| pitch | No | Pitch scale | |
| action | No | Action: play, stop, pause, resume | |
| stream | No | Optional res:// path to load a new stream | |
| volume | No | Volume (linear 0-1) | |
| nodePath | Yes | Path to AudioStreamPlayer/2D/3D node | |
| fromPosition | No | Start position in seconds |