set_bus_volume
Sets the volume level of a Godot audio bus to a specified decibel value.
Instructions
Set bus volume in dB.
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": {
"bus_index": "<bus_index>",
"volume_db": "<volume_db>"
},
"name": "set_bus_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus_index | Yes | Bus index | |
| volume_db | Yes | Volume in dB (e.g. -6.0, 0.0, 3.0) | |
| layout_path | No | default_bus_layout.tres |