nemo_voice_agent.evaluation.tools.tau2_telecom_user_tools
nemo_voice_agent.evaluation.tools.tau2_telecom_user_tools
Tau2-telecom user-side LLM tool ports.
The user simulator’s LLM has these tools available to control the mock
phone state during a conversation. Same architecture as the retail tool
port: dict-form DB in self.state["db"], _Tau2InvokeMixin for
sync/async dual-routing, WriteScenarioTool subclass auto-records each
mutation.
Module Contents
Classes
Functions
Data
TAU2_TELECOM_USER_ACTION_TYPES
TAU2_TELECOM_USER_TOOL_NAME_TO_CLASS
API
Provides sync invoke(**kwargs) + async _execute(**kwargs) routing.
Bases: _Tau2InvokeMixin, StandardSchemaTool
Base for telecom user-side read-only tools.
Mirror of upstream’s TelecomUserTools._can_send_mms.
Build a human-readable status-bar indicator string.
Connect VPN with default details. Returns None if already connected, True on connect, False if upstream considered it a no-op (matches the upstream tristate semantics).
Disconnect VPN. Returns True on disconnect, False if no active VPN.
Mirror of upstream’s _get_mobile_data_working.
True only when every prerequisite for mobile data is satisfied: airplane mode off, signal not NONE, connection status not NO_SERVICE, roaming-allowed when abroad, data enabled, usage not exceeded.
Grant permission to app_name. Returns (success, message).
Reboot: apply any pending APN reset, then re-derive network state.
Re-insert the SIM card, then re-derive network state.
Defer APN reset to the next reboot — mirror of upstream’s behavior.
Set the device’s active APN settings to the supplied dict + trigger search.
Set preferred network mode; trigger search. Returns canonical value
or None on invalid mode (upstream returns None instead of raising).
Toggle airplane mode; clear wifi connection, disconnect VPN if turning ON.
Returns the new airplane_mode state.
Mirrors upstream’s _toggle_airplane_mode: when turning ON, also
disconnects VPN (mode physically can’t keep it alive); when turning
OFF, drops the connection status to SEARCHING so the network search
re-derives it. Wifi connection is cleared in both directions.
Toggle device.data_enabled; trigger network re-derivation. Returns new state.
Toggle Wi-Fi radio; returns None when airplane mode is on (can’t change).