digital_write
Digital Write
Set one or more digital GPIO pins on a Bolt device to HIGH or LOW. Supports writing to a single pin or multiple pins at once. Use this to control LEDs, relays, motors, and other on/off actuators.
Ask your agent in plain language. Each of these maps to a real tool on the server.
digital_write
Set one or more digital GPIO pins on a Bolt device to HIGH or LOW. Supports writing to a single pin or multiple pins at once. Use this to control LEDs, relays, motors, and other on/off actuators.
digital_read
Read the current digital state of one or more GPIO pins on a Bolt device. Returns the HIGH/LOW state of each pin. Useful for checking the status of switches, buttons, or other digital input sensors.
list_devices
Retrieve all Bolt IoT devices associated with your account. Returns a list of devices with their names and online/offline status. Useful for discovering available devices before performing operations on them.
restart_device
Remotely restart a Bolt IoT device. The device will reboot and reconnect to the Bolt Cloud. Useful for recovering from errors or applying configuration changes.
get_device_status
Check whether a Bolt IoT device is online (alive) or offline (dead), and retrieve its firmware and hardware version information. Combines the status check and version query into a single tool for complete device health overview.
analog_read
Read the analog value from a pin on a Bolt device. The analog pin A0 returns values from 0 to 1023, representing the voltage level. Commonly used for reading sensor data such as temperature, light intensity, or humidity.
uart_communicate
Perform UART (serial) communication with a device connected to the Bolt module. Supports initializing the serial interface, sending data, reading data, or sending and reading in one step. Choose the appropriate operation for your use case.
analog_write
Write an analog (PWM) value to an output pin on a Bolt device. Accepts values from 0 to 255, enabling variable control of devices like dimmable LEDs, motors, and other analog actuators.
servo_control
Control a servo motor connected to a Bolt device by setting its angle position. Specify the pin and the desired angle (0–180 degrees). Requires Bolt Cloud Pro and firmware version 1.4.1 or above.
get_device_version
Query a Bolt device for its hardware and firmware version without first making a status request. Returns the complete version response.
get_device_online_status
Retrieve the online/offline status recorded by Bolt Cloud and the provider timestamp when that status changed. Use get_device_status for the separate alive/dead status query.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Control Bolt WiFi modules through Bolt Cloud: discover devices, inspect status and versions, read GPIO and analog values, control digital/PWM outputs and servos, restart modules, and communicate over UART.
Common questions about connecting Bolt Iot to AI agents with Metorial.