pin_set
Assign peripheral signals to a specific STM32 pin, including ordered multi-signal assignments, to configure pin functions and validate them against available options.
Instructions
Assign a peripheral signal to a pin (set pin <pin> <signal>). Signals must exist in pin_functions; GPIO_Input/GPIO_Output/GPIO_Analog/GPIO_EXTIn are always valid for GPIO pins.
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": {
"project_id": "<project_id>",
"pin": "<pin>"
},
"name": "pin_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | Pin name | |
| signal | No | Signal, e.g. USART1_TX | |
| signals | No | Apply several signals to the same pin in order | |
| project_id | Yes | Project id |