android_file_rename
Rename a file or directory inside a writable Storage Access Framework root on an Android device. Provide root ID, path, and new name to update the entry.
Instructions
Rename a file or directory inside a writable authorized SAF root.
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": {
"rootId": "<rootId>",
"path": "<path>",
"newName": "<newName>"
},
"name": "android_file_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| rootId | Yes | ||
| newName | Yes |