files
Copy data between the host and Android: push a host path to an Android path, or pull an Android path back to the host, including debuggable app-private data when a package is given.
Instructions
Copies files between the host and Android: push a host path to an Android path, or pull an Android path to the host. App-private files under /data/data are readable with pull only for debuggable apps (through run-as), given package.
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": {
"action": "<action>",
"host_path": "<host_path>",
"android_path": "<android_path>"
},
"name": "files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| package | No | For pull from a debuggable app's private directory. | |
| host_path | Yes | ||
| android_path | Yes |