get_pin_info
Retrieve detailed GPIO pin information for ESP32, Arduino UNO, or STM32 boards, including pin name, alternative functions, and capabilities like PWM and ADC.
Instructions
Get detailed information about a specific GPIO pin.
Returns pin name, alternative functions, capabilities (PWM, ADC, etc.), and important notes about usage restrictions or recommendations.
Args: board_type: Development board type (ESP32, Arduino UNO, or STM32) pin_number: Physical pin number
Returns: Formatted pin information including functions and notes
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": {
"board_type": "<board_type>",
"pin_number": "<pin_number>"
},
"name": "get_pin_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_type | Yes | Type of development board | |
| pin_number | Yes | Pin number to query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |