Rmdir
rmdirRemoves an empty directory from a MicroPython board’s filesystem; provide the directory path to clean up unused folders on the device.
Instructions
Remove a directory on the device filesystem.
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": {
"path": "<path>"
},
"name": "rmdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to remove (must be empty). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |