mcp_gpio_config
Configures a remote agent's GPIO pin by number, setting direction, initial state, pull resistor, pulse limit, active-low logic, and optional state-change webhook.
Instructions
Configure a GPIO pin on agent by number. type: input/output/vcc/gnd/remove. init: 0/1/last. pullup: up/down/none (input only). max: max pulse duration in seconds (output only). reversed: active-low logic (input/output only). watched: trigger webhook on state change (logged on the agent if no notifications.webhook is configured).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| gpio | Yes | ||
| init | No | ||
| name | No | ||
| type | No | ||
| agent | Yes | ||
| pullup | No | ||
| watched | No | ||
| reversed | No |