Skip to content

Self-improving AI Employees for everyone

1.7 KB
Raw Blame

Audio Automation (audioAutomation)

Field Value
Category android / automation
Backend handler plugin server/nodes/android/audio_automation/__init__.py; dispatch via BaseNode.execute() -> shared AndroidServiceBase.invoke (@Operation("invoke"))
Tests server/tests/nodes/test_android.py
Skill (if any) server/skills/android_agent/audio-skill/SKILL.md
Direct agent tool connectable to any agent's input-tools

Purpose

Volume and audio state control: get/set volume per stream, mute, unmute.

Backend service mapping

Field Value
SERVICE_ID_MAP[audioAutomation] audio_automation
Default action get_volume

Parameters

Shared parameter set only. Stream and value live inside parameters.

Logic Flow (node-specific slice)

flowchart TD
  A[Dispatch] --> B[service_id = 'audio_automation']
  B --> C{action}
  C -- get_volume --> D[POST /api/audio_automation]
  C -- set_volume --> D
  C -- mute --> D
  C -- unmute --> D
  D --> E[Flatten data: volume, stream, muted]

Edge cases & known limits

  • Do Not Disturb and notification policy restrictions on Android can cause set_volume to be ignored by the system.
  • Shared edge cases only otherwise.

Related