Rm
rmDeletes a file from a MicroPython board's filesystem over serial by specifying its path, freeing storage or removing obsolete code before deployment.
Instructions
Remove a file 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": "rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to remove (e.g. "/main.py"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |