push_file
Create or overwrite a file on the Appium driver machine by providing an absolute path and base64-encoded content. Requires modify_fs insecure feature enabled.
Instructions
Write a file to the filesystem of the machine running the driver. Requires the "modify_fs" insecure feature to be enabled on the Appium server.
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": {
"remotePath": "<remotePath>",
"base64Data": "<base64Data>"
},
"name": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64Data | Yes | File contents, base64-encoded | |
| remotePath | Yes | Absolute path to write the file to |