micropython_connect
Connect to a MicroPython board using serial port or WebREPL host to enable code execution, file transfers, and device control.
Instructions
指定ターゲットへ接続
Args:
target: COM3 なら serial、host[:port] なら WebREPL
password: WebREPL 接続時のパスワード
baudrate: serial 接続時のボーレート
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": {
"target": "<target>"
},
"name": "micropython_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| baudrate | No | ||
| password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| host | Yes | ||
| port | Yes | ||
| error | Yes | ||
| target | Yes | ||
| baudrate | Yes | ||
| transport | Yes |