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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent": "<agent>",
"gpio": "<gpio>"
},
"name": "mcp_gpio_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| gpio | Yes | ||
| init | No | ||
| name | No | ||
| type | No | ||
| agent | Yes | ||
| pullup | No | ||
| watched | No | ||
| reversed | No |