Rename or move a board path
pico_path_renameRename or move a file or directory on a selected board; ensure the destination folder exists and check for an existing target before overwriting.
Instructions
Rename or move one file or directory on the selected board. The destination's folder must already exist, and an existing file at the destination may be replaced: check first.
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_id": "<board_id>",
"from": "<from>",
"to": "<to>"
},
"name": "pico_path_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Path on the board filesystem, relative to its root. | |
| from | Yes | Path on the board filesystem, relative to its root. | |
| board_id | Yes | Stable board UID returned by pico_boards_list, or its current serial device path. |