adb_mkdir
Create directories on an Android device over ADB, including parent folders and protected paths via root shell.
Instructions
Create a directory on the device. Supports -p flag for creating parent directories.
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": "adb_mkdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to create | |
| root | No | Use root shell for protected paths | |
| device | No | Device serial | |
| parents | No | Create parent directories as needed (-p flag, default true) |