networkConnection¶
Sets the device’s network radios and airplane mode. Every field is optional and a field left unset is not touched, so this can change one radio without disturbing the others.
To take the device OFFLINE, set wifi, cellular and bluetooth all to false. To bring it back online, set them all to true.
airplaneMode sets the real airplane-mode signal that apps read, which is NOT the same request as taking the radios down. Setting the radios off does not set that signal, so an app that checks airplane mode will not see one. Name whichever the trail is actually testing, or both.
Asking for airplaneMode true AND a radio true is allowed only for a radio this device lets a user re-enable during airplane mode (wifi and bluetooth, normally; mobile data, normally not) — that is a real state, and it is refused by name when the device would just undo it.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.toolcalls.commands.NetworkConnectionTrailblazeTool
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: yes (
is_recordable: true) - Host-only: no (
requires_host: false)
Input schema¶
Optional parameters¶
wifi—BooleanWhether wifi should be on. Android only. Omit to leave it alone.cellular—BooleanWhether mobile data should be on. Android only. Omit to leave it alone.bluetooth—BooleanWhether bluetooth should be on. Android only. Omit to leave it alone.airplaneMode—BooleanWhether airplane mode should be on. Does not by itself take the device offline. Omit to leave it alone.
Output¶
Returns: string (opaque text content)
Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.