set_audio_volume
Control speaker or microphone volume and mute state via PipeWire/PulseAudio, optionally targeting a specific device.
Instructions
Set volume or mute state for speaker ('sink') or microphone ('source').
Args: target: 'sink' (speaker/output) or 'source' (microphone/input). volume_percent: Volume level from 0 to 150 (e.g., 80 for 80%). mute: True to mute, False to unmute, or None to leave unchanged. device_id: Optional PipeWire/PulseAudio node ID or name (defaults to default sink/source).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mute | No | ||
| target | No | sink | |
| device_id | No | ||
| volume_percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||