Picotool Load UF2
picotool_loadLoad a UF2 file onto a Pico in BOOTSEL mode via picotool, with confirmation required before flashing.
Instructions
Load a UF2 to a Pico in BOOTSEL mode via picotool load -x -t uf2.
Prefer pio_flash for flashing firmware built from this repo. Requires confirm=True,
or the user's answer when the client can ask.
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": {
"uf2_path": "<uf2_path>"
},
"name": "picotool_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | `True` once the user agreed; omitted, a client that can ask prompts the human. | |
| uf2_path | Yes | The .uf2 file to load. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||