Module gpio
Expand description
GPIO tools — gpio_read and gpio_write for LLM-driven hardware control.
Structs§
- Gpio
Read Tool - Tool: read the current HIGH/LOW state of a GPIO pin on a connected device.
The LLM provides
device(alias) andpin. The tool builds aZcCommand, sends it via the device’s transport, and returns the pin state. - Gpio
Write Tool
Functions§
- gpio_
tools - Create the built-in GPIO tools for a given device registry.
Returns
[GpioWriteTool, GpioReadTool]ready for registration in the agent’s tool list or a futureToolRegistry.